Cargo Features
[dependencies]
dbutils = { version = "0.11.1", default-features = false, features = ["std", "alloc", "among", "bytes1", "either", "smol_str03", "faststr02", "triomphe01", "crc32", "xxhash64", "xxhash3", "smallvec01", "smallvec02", "smallvec-wrapper01", "tracing"] }
- default = std
-
These default features are set whenever
dbutils
is added without
somewhere in the dependency tree.default-features = false Enables cheap-clone
- std default = alloc
-
Enables either, std of cheap-clone and optional crc32fast and std of optional triomphe and optional xxhash-rust
xxhash-rust:
Enables std::io::Write implementation
Affects
types::Type.encode_into_vec
… - alloc std
-
Enables alloc of cheap-clone
Affects
types::Type.encode_into_vec
… - among
-
Enables among of cheap-clone
- bytes1
-
Enables bytes, bytes1 of cheap-clone
- either std
-
Enables either of cheap-clone
- smol_str03
-
Enables smol_str, smol_str03 of cheap-clone
- faststr02
-
Enables faststr, faststr02 of cheap-clone
- triomphe01
-
Enables triomphe, triomphe01 of cheap-clone
- crc32 = crc32fast
- xxhash64
-
Enables xxh64 of xxhash-rust
xxhash-rust:
Enable xxh64 implementation
Affects
checksum::XxHash64
… - xxhash3
-
Enables xxh3 of xxhash-rust
xxhash-rust:
Enable xxh3 implementation
Affects
checksum::XxHash3
…
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.
- crc32fast crc32?
-
Affects
checksum::Crc32
… - xxhash-rust xxhash3? xxhash64?
- smallvec01 implicit feature
-
Enables smallvec
smallvec:
'Small vector' optimization: store up to a small number of items on the stack
- smallvec02 implicit feature
-
Enables smallvec
- smallvec-wrapper01 implicit feature
-
Enables smallvec-wrapper
smallvec-wrapper:
Macro and common structs to play with
smallvec
- tracing implicit feature
-
Enables tracing
tracing:
Application-level tracing for Rust