Cargo Features

[dependencies]
near-crypto = { version = "0.27.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, rand of secp256k1 ^0.27.0 and getrandom of rand

rand:

Option: use getrandom package for seeding

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.