Cargo Features
[dependencies]
cbe-sdk = { version = "1.15.0", default-features = false, features = ["program", "full", "curve25519-dalek"] }
- program
-
"program" feature is a legacy feature retained to support v1.3 and older
programs. New development should not use this feature. Instead use the cbe-program crate - default = full
-
The
full
feature is set by default whenevercbe-sdk
is added without
somewhere in the dependency tree.default-features = false - full default = assert_matches, byteorder, cbe-logger, chrono, digest, ed25519-dalek, ed25519-dalek-bip32, generic-array, libsecp256k1, memmap2, rand, rand_chacha, serde_json, sha3
-
Affects
hash::new_rand
,pubkey::new_rand
,pubkey::write_pubkey_file
,pubkey::read_pubkey_file
…
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.
- assert_matches full
- byteorder full
- chrono full
- curve25519-dalek implicit feature
-
Enables curve25519-dalek ^3.2.1
curve25519-dalek:
A pure-Rust implementation of group operations on ristretto255 and Curve25519
- digest full
- ed25519-dalek full
-
Enables ed25519-dalek =1.0.1
- ed25519-dalek-bip32 full
-
Enables ed25519-dalek-bip32 ^0.2.0
- generic-array full
-
Enables generic-array ^0.14.6
- libsecp256k1 full
-
Enables libsecp256k1 ^0.6.0
- memmap2 full
-
Enables memmap2 ^0.5.8
- rand full
-
Enables rand ^0.7.0
- rand_chacha full
-
Enables rand_chacha ^0.2.2
- serde_json full
- sha3 full
- cbe-logger full