Cargo Features
[dependencies]
subxt-core = { version = "0.38.0", default-features = false, features = ["std", "substrate-compat"] }
- default = std
-
The
std
feature is set by default wheneversubxt-core
is added without
somewhere in the dependency tree.default-features = false - std default
-
Included if the "substrate-compat" feature is enabled.
and std of parity-scale-codec, frame-metadata, hex, impl-serde, primitive-types, scale-bits, scale-decode, scale-encode, scale-info, scale-value, serde, serde_json, and subxt-metadata
impl-serde:
Provides some deserialization, types like U256/H256 and hashing impls like twox/blake256:
Affects
error::CustomError
… - substrate-compat
-
Enables sp-core, sp-runtime and std of polkadot-sdk