Cargo Features
arkui-sys has no features set by default.
[dependencies]
arkui-sys = { version = "0.1.0", features = ["api-12", "document-features"] }
- api-12
-
OpenHarmony API level
The
arkUI
native module was added in API-level 12. Defaults to no bindings at all, to maintain feature composability inohos-sys
. Optionally enable one of theapi-*
features to get access to bindings for newer OpenHarmony versions.Enables bindings for OpenHarmony API-level 12.
Affects
arkui-sys::native_gesture
,arkui-sys::native_type
,arkui-sys::ui_input_event
… - document-features
-
Document available features when building the documentation
Enables document-features