Cargo Features

subxt-macro has no features set by default.

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

Enables web of subxt-codegen

runtime-metadata-path = polkadot-sdk
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.

polkadot-sdk runtime-metadata-path?

Enables polkadot-sdk ^0.7