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 whenever hai is added without default-features = false somewhere in the dependency tree.

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