Cargo Features
subxt-codegen has no features set by default.
[dependencies]
subxt-codegen = { version = "0.35.3", features = ["fetch-metadata", "web"] }
- fetch-metadata
-
Enables frame-metadata, jsonrpsee, and tokio
Affects
subxt-codegen::fetch_metadata
… - web
-
Enables async-wasm-client and client-web-transport of optional jsonrpsee and js of getrandom
Included if "web" feature is enabled, to enable its js 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.