Cargo Features

subxt-codegen has no features set by default.

[dependencies]
subxt-codegen = { version = "0.37.0", features = ["fetch-metadata", "web"] }
fetch-metadata

Enables frame-metadata, jsonrpsee ^0.22, and tokio

Affects subxt-codegen::fetch_metadata

web

Enables async-wasm-client and client-web-transport of optional jsonrpsee ^0.22 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.

getrandom web?