Cargo Features
GXI has no features set by default.
[dependencies]
gxi = { version = "0.6.1", features = ["web", "async-web", "desktop"] }
- default
-
These default features are set whenever
gxi
is added without
somewhere in the dependency tree.default-features = false Enables gxi-derive, gxi-macros, and gxi-transpiler
- web = wasm-bindgen, web-sys
-
Enables web of gxi-derive, gxi-macros, and gxi-transpiler
- async-web = wasm-bindgen-futures
- desktop
-
Enables desktop of gxi-derive, gxi-macros, and gxi-transpiler
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- gxi-derive default desktop? web?
- gxi-transpiler default desktop? web?
- gxi-macros default desktop? web?
- wasm-bindgen web?
-
Enables wasm-bindgen
web
- wasm-bindgen-futures async-web?
- web-sys web?