Cargo Features

[dependencies]
t3rn-types = { version = "0.0.1", default-features = false, features = ["std", "runtime", "runtime-std"] }
default = std

The std feature is set by default whenever t3rn-types is added without default-features = false somewhere in the dependency tree.

std default

Enables std of parity-scale-codec, scale-info, and serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

runtime = sp-core, sp-io, sp-runtime

Affects abi::eval_trait_dynamically

runtime-std

Enables std of sp-core ^6.0.0, sp-io ^6.0.0, and sp-runtime ^6.0.0

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.

serde std
sp-core runtime? runtime-std?

Enables sp-core ^6.0.0

sp-io runtime? runtime-std?

Enables sp-io ^6.0.0

sp-runtime runtime? runtime-std?

Enables sp-runtime ^6.0.0