Cargo Features
XComponent has no features set by default.
[dependencies]
xcomponent = { version = "0.1.2", features = ["log", "register"] }
- log
-
Enables log
- register
-
Enables napi-ohos ^0.1
Affects
xcomponent::RegisterCallbackError
,xcomponent::register_xcomponent_callbacks
…