Cargo Features
[dependencies]
dbutils = { version = "0.10.4", default-features = false, features = ["std", "alloc", "among", "bytes", "either", "smol_str", "faststr", "triomphe", "crc32", "xxhash64", "xxhash3", "smallvec", "smallvec-wrapper", "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
- bytes
-
Enables bytes, bytes of cheap-clone
- either std
-
Enables either of cheap-clone
- smol_str
-
Enables smol_str, smol_str of cheap-clone
- faststr
-
Enables faststr, faststr of cheap-clone
- triomphe
-
Enables triomphe, triomphe 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?
- smallvec implicit feature
-
Enables smallvec
smallvec:
'Small vector' optimization: store up to a small number of items on the stack
- smallvec-wrapper 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