Cargo Features
[dependencies]
libsumatracrypt-rs = { version = "0.5.0", default-features = false, features = ["digests", "signatures", "encryption", "dh", "pq", "pqcrypto-sphincsplus"] }
- default = dh, digests, encryption, pq, signatures
-
These default features are set whenever
libsumatracrypt-rs
is added without
somewhere in the dependency tree.default-features = false - digests default = blake2-rfc, blake3, sha1, sha2, tiny-keccak
-
Affects
libsumatracrypt-rs::digest
… - signatures default = ed25519-dalek, ed448-goldilocks-plus, schnorrkel
-
Affects
libsumatracrypt-rs::signatures
… - encryption default = ecies-ed25519, rsa
-
Affects
libsumatracrypt-rs::encryption
… - dh default = x448
-
Affects
libsumatracrypt-rs::dh
… - pq default = pqcrypto-dilithium, pqcrypto-falcon, pqcrypto-traits
-
Affects
libsumatracrypt-rs::pq
…
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.
- ecies-ed25519 encryption
- rsa encryption
- blake3 digests
-
Enables blake3
Digest
- blake2-rfc digests
- sha2 digests
- tiny-keccak digests
- sha1 digests
- schnorrkel signatures
-
Enables schnorrkel
Signature
- ed25519-dalek signatures
- ed448-goldilocks-plus signatures
-
Enables ed448-goldilocks-plus ^0.11.2
- x448 dh
-
Enables x448
DH (Key-Exchange)
- pqcrypto-traits pq
- pqcrypto-sphincsplus implicit feature
-
Enables pqcrypto-sphincsplus
Post-Quantum Signatures
- pqcrypto-dilithium pq
- pqcrypto-falcon pq
-
Enables pqcrypto-falcon ^0.3.0