Cargo Features

[dependencies]
encointer-primitives = { version = "14.3.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, std of sp-runtime and sp-std and std of bs58 and ep-core

ep-core:

local deps

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

frame-support:

substrate deps

full_crypto

Enables full_crypto of sp-core

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

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