- napi:
napi_property_descriptor
,napi_node_version
,napi_extended_error_info
no longer derive Copy/Clone. xcomponent
: The constantOH_NATIVE_XCOMPONENT_OBJ
is now aCStr
instead of raw byte string- native_window: Duplicate bindings for
native_buffer
types were removed. Use the bindings fromnative_buffer
instead. - native_buffer:
OH_NativeBuffer_MetadataType
is now a wrapper aroundc_int
instead ofc_uint
.
- Made vsync bindings also available as dedicated ohos-vsync-sys crate. No user facing changes.
- Updated all bindings for API-13.
- Remove
Debug
from opaque structs
- Internal changes to the bindings, to more easily allow feature guarding based on the API level.
- Improved the documentation, by converting doxygen comments to markdown.
- Unify re-export of components
- Bump ime-sys, xcomponent-sys and drawing-sys
- Re-export hitrace-sys binding (behind hitrace feature)
- Change enum types in
native_buffer
andnative_window
to newtype pattern.
- deviceinfo bindings
- native_buffer API-12 bindings
- native_image bindings
- syscap bindings
- Added bindings for
native_vsync
(behind thevsync
feature flag)
ohos-drawing-sys
is now an optional dependency. Usage was already guarded behind thedrawing
feature.
- Renamed and moved the xcomponent module to the top-level (from ace/xcomponent/native_interface_xcomponent)
- Guard each component behind a feature flag
- Added
native_drawing
API bindings (Also available separately asohos-drawing-sys
) - Added bindings for API level 11 behind a feature flag
native_window
now links against the correct dynamic library.- Remove Copy / Clone impls on opaque structs