Cargo Features
[dependencies]
libsecp256k1test = { version = "0.7.2", default-features = false, features = ["std", "hmac", "static-context", "lazy-static-context"] }
- default = hmac, static-context, std
-
These default features are set whenever
libsecp256k1test
is added without
somewhere in the dependency tree.default-features = false - std default lazy-static-context?
-
Enables std of base64 ^0.13, libsecp256k1-core, rand, serde, and sha2 ^0.9
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
- hmac default = hmac-drbg, sha2, typenum
- static-context default lazy-static-context?
-
Affects
libsecp256k1test::ECMULT_CONTEXT
,libsecp256k1test::recover
… - lazy-static-context = lazy_static, static-context, std
-
Affects
libsecp256k1test::recover
…
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.