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 whenevernear-crypto
is added without
somewhere in the dependency tree.default-features = false - 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.