Cargo Features

[dependencies]
near-crypto = { version = "0.28.0", default-features = false, features = ["rand", "rand-std", "protocol_schema"] }
default = rand

The rand feature is set by default whenever near-crypto is added without default-features = false somewhere in the dependency tree.

rand default

Enables rand_core of ed25519-dalek, getrandom of rand, rand of secp256k1 ^0.27.0

rand-std

Enables rand-std of secp256k1 ^0.27.0

protocol_schema

Enables protocol_schema of near-schema-checker-lib

near-crypto has 4 features without comments.