Cargo Features
ohos-image-kit-sys has no features set by default.
[dependencies]
ohos-image-kit-sys = { version = "0.1.0", features = ["api-12", "image-packer", "image-receiver", "image-source", "pixelmap", "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 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
ohos-image-kit-sys::native_image
… - image-packer
-
Image Kit Modules
The Image kit is divided into different shared libraries. We provide features, so that you can select which components you want to use.
Image Encoding
- image-receiver
-
Obtain image data from the native layer
- image-source
-
Image decoding
- pixelmap
-
Pixel Map
- document-features
-
Document available features when building the documentation
Enables document-features