Cargo Features

[dependencies]
serai-signals-primitives = { version = "0.1.0", default-features = false, features = ["std", "borsh", "serde"] }
default = std

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

std default = zeroize

Enables std of optional borsh, parity-scale-codec, scale-info, serai-primitives, and optional serde

serde:

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

borsh

Enables borsh

serde

Enables serde

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.

zeroize std