Cargo Features

[dependencies]
substrate-crypto-light = { version = "0.1.0", default-features = false, features = ["std", "ecdsa", "ed25519", "sr25519"] }
default = ecdsa, ed25519, sr25519, std

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

std default

Enables std of schnorrkel

ecdsa default = k256

Affects substrate-crypto-light::ecdsa

ed25519 default = ed25519-zebra

Affects substrate-crypto-light::ed25519

sr25519 default = rand_core, schnorrkel

Affects substrate-crypto-light::sr25519

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.

ed25519-zebra ed25519
k256 ecdsa
rand_core sr25519
schnorrkel sr25519 std