Cargo Features
gmsol-sdk has no features set by default.
[dependencies]
gmsol-sdk = { version = "0.4.1-alpha.3", features = ["treasury", "js", "serde"] }
- treasury
-
Enables treasury of gmsol-programs
- js = serde, serde-wasm-bindgen, tsify-next, wasm-bindgen
-
Enables js of gmsol-model, wasm-bindgen of gmsol-programs
Affects
gmsol-sdk::js
… - serde js?
-
Enables serde of gmsol-model and serde
Dependencies for the
serde
feature
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.
- wasm-bindgen js?
-
Enables wasm-bindgen
Dependencies for the
wasm
feature - serde-wasm-bindgen js?
- tsify-next js?