Cargo Features

GXI has no features set by default.

gxi = { version = "0.6.1", features = ["web", "async-web", "desktop"] }

These default features are set whenever gxi is added without default-features = false somewhere in the dependency tree.

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

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


wasm-bindgen-futures async-web?
web-sys web?