Cargo Features

[dependencies]
encointer-primitives = { version = "7.0.0", default-features = false, features = ["std", "full_crypto", "serde_derive", "try-runtime", "runtime-benchmarks"] }
default = serde_derive, std

These default features are set whenever encointer-primitives is added without default-features = false somewhere in the dependency tree.

std default

Enables full_crypto and std of sp-core ^30.0.0, std of sp-runtime ^33.0.0 and sp-std and std of bs58 and ep-core

ep-core:

local deps

and std of frame-support ^30.0.0, parity-scale-codec, scale-info, and serde

frame-support:

substrate deps

full_crypto

Enables full_crypto of sp-core ^30.0.0

sp-core:

This feature enables all crypto primitives for no_std builds like microcontrollers or Intel SGX. For the regular wasm runtime builds this should not be used.

serde_derive default = serde

Enables serde_derive of ep-core

try-runtime
runtime-benchmarks

Enables runtime-benchmarks of frame-support ^30.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 serde_derive std