Cargo Features
[dependencies]
hai = { version = "0.1.0", default-features = false, features = ["desktop", "video", "web", "hai_js_runtime"] }
- default = desktop
-
The
desktop
feature is set by default wheneverhai
is added without
somewhere in the dependency tree.default-features = false - desktop default
-
Enables desktop of hai_core ^0.1
- video
-
Enables video of hai_core ^0.1
- web
-
Enables web of hai_core ^0.1
Affects
hai::wasm_start
…
Features from optional dependencies
- hai_js_runtime implicit feature
-
Enables hai_js_runtime ^0.1
hai_js_runtime:
Javascript runtime for Hai