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 ^17.0.0, hex, impl-serde, primitive-types, scale-bits ^0.6.0, scale-decode ^0.14.0, scale-encode ^0.8.0, scale-info, scale-value ^0.17.0, 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