Cargo Features

ohos-ime-sys has no features set by default.

[dependencies]
ohos-ime-sys = { version = "0.1.0", features = ["api-12", "document-features"] }
api-12

OpenHarmony API level

The inputmethod API was added in API-level 12. Defaults to no bindings at all, to maintain feature composability in ohos-sys. Optionally enable one of the api-* features to get access to bindings for newer OpenHarmony versions.

EXPERIMENTAL: Enables bindings for OpenHarmony API-level 12 (beta-1). Will stabilize once the final version has been released.

document-features

Document available features when building the documentation

Enables document-features