Cargo Features

[dependencies]
beacon = { version = "0.2.0", default-features = false, features = ["std", "with-serde", "with-codec"] }
default = std, with-codec, with-serde

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

std default

Enables std of bm-le ^0.8, fixed-hash ^0.3.0, parity-codec, primitive-types ^0.4, sha2 ^0.8, ssz, and vecarray

with-serde default = impl-serde, serde

Enables with-serde of bm-le ^0.8, serde of primitive-types ^0.4 and vecarray

with-codec default = parity-codec

Enables with-codec of bm-le ^0.8, parity-codec of vecarray

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.

impl-serde with-serde

Enables impl-serde ^0.1

serde with-serde
parity-codec std with-codec