Cargo Features
Starling has no features set by default.
[dependencies]
starling = { version = "4.0.0", features = ["bincode", "json", "cbor", "yaml", "pickle", "ron", "groestl", "sha2", "sha3", "keccak", "blake2b", "md2", "md4", "md5", "ripemd320", "sha1", "rust_sha2", "rust_keccak", "whirlpool", "blake2-rfc", "hashbrown", "rocksdb", "seahash", "fxhash", "rand"] }
- bincode = serde
-
Enables bincode
- json = serde, serde_json
- cbor = ciborium, serde
- yaml = serde, serde_yaml
- pickle = serde, serde-pickle
- ron = serde
-
Enables ron ^0.7.1
- groestl = digest
-
Enables groestl
Affects
tree_hasher::TreeHasher
… - sha2 = openssl
-
Affects
tree_hasher::sha256
,tree_hasher::TreeHasher
… - sha3 = tiny-keccak
-
Affects
tree_hasher::sha3_openssl
,tree_hasher::TreeHasher
… - keccak = tiny-keccak
-
Affects
tree_hasher::keccak
,tree_hasher::TreeHasher
… - blake2b = blake2, digest
-
Affects
tree_hasher::TreeHasher
… - md2 = digest
-
Enables md2
Affects
tree_hasher::TreeHasher
… - md4 = digest
-
Enables md4
Affects
tree_hasher::TreeHasher
… - md5 = digest, md-5
-
Affects
tree_hasher::TreeHasher
… - ripemd160 ripemd320 = digest
-
Enables ripemd
Affects
tree_hasher::TreeHasher
… - sha1 = digest, sha-1
-
Affects
tree_hasher::TreeHasher
… - rust_sha2 = digest
-
Enables sha2
Affects
tree_hasher::TreeHasher
… - rust_sha3 rust_keccak = digest
-
Enables sha3
Affects
tree_hasher::TreeHasher
… - whirlpool = digest
-
Enables whirlpool
Affects
tree_hasher::TreeHasher
…
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.
- blake2-rfc implicit feature
-
Enables blake2-rfc
blake2-rfc:
A pure Rust implementation of BLAKE2 based on RFC 7693
Affects
tree_hasher::blake2b_rfc
,tree_hasher::TreeHasher
… - serde bincode? cbor? json? pickle? ron? yaml?
-
Affects
starling::Array
… - serde_json json?
- ciborium cbor?
- serde_yaml yaml?
-
Enables serde_yaml ^0.8.24
- serde-pickle pickle?
- openssl sha2?
- tiny-keccak keccak? sha3?
- hashbrown implicit feature
-
Enables hashbrown ^0.12.1
hashbrown:
A Rust port of Google's SwissTable hash map
Affects
tree_db::hashbrown
,tree_db::HashTreeDB
… - rocksdb implicit feature
-
Enables rocksdb ^0.18.0
rocksdb:
Rust wrapper for Facebook's RocksDB embeddable database
Affects
starling::rocks_tree
,tree_db::rocksdb
… - seahash implicit feature
-
Enables seahash
seahash:
A blazingly fast, portable hash function with proven statistical guarantees
Affects
tree_hasher::seahasher
,tree_hasher::TreeHasher
… - fxhash implicit feature
-
Enables fxhash
fxhash:
A fast, non-secure, hashing algorithm derived from an internal hasher used in FireFox and Rustc
Affects
tree_hasher::fx
,tree_hasher::TreeHasher
… - rand implicit feature
-
Enables rand
rand:
Random number generators and other randomness functionality
Required by the insert_benchmark binary
- digest blake2b? groestl? md2? md4? md5? ripemd160? ripemd320? rust_keccak? rust_sha2? rust_sha3? sha1? whirlpool?
- blake2 blake2b?
- md-5 md5?
- sha-1 sha1?