Cargo Features

subxt-macro has no features set by default.

[dependencies]
subxt-macro = { version = "0.41.0", features = ["web", "runtime-wasm-path", "runtime-metadata-insecure-url"] }
web

Enables web of subxt-codegen

runtime-wasm-path = sc-executor, sc-executor-common, sp-io, sp-maybe-compressed-blob, sp-state-machine
runtime-metadata-insecure-url

Enables url of subxt-utils-fetchmetadata

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.

sc-executor runtime-wasm-path?
sc-executor-common runtime-wasm-path?
sp-maybe-compressed-blob runtime-wasm-path?
sp-io runtime-wasm-path?
sp-state-machine runtime-wasm-path?