Cargo Features

[dependencies]
hitrace-sys = { version = "0.1.2", default-features = false, features = ["api-10", "api-11", "api-12"] }
default = api-10

The api-10 feature is set by default whenever hitrace-sys is added without default-features = false somewhere in the dependency tree.

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 (No additions)

api-12 = api-11

Enables bindings for OpenHarmony API-level 12