Cargo Features
[dependencies]
hilog-sys = { version = "0.1.2", default-features = false, features = ["log", "api-10", "api-11", "api-12", "document-features"] }
- default = api-10
-
The
api-10
feature is set by default wheneverhilog-sys
is added without
somewhere in the dependency tree.default-features = false - log
-
log
crate interopAdds
From
andInto
conversion fromlog
LogLevel to Hilogs log level.Enables log
- api-10 default api-11?
-
OpenHarmony API level
This crate by default exposes bindings for API-level 10. Optionally enable one of the
api-*
features to get access to bindings for newer OpenHarmony versions.No effect. API-10 bindings can't be deselected. The feature exists for internal purposes.
- api-11 api-12? = api-10
-
Enables bindings for OpenHarmony API-level 11
- api-12 = api-11
-
Enables bindings for OpenHarmony API-level 12 (No changes)
- document-features
-
Document available features when building the documentation
Enables document-features