Cargo Features
[dependencies]
brotli = { version = "7.0.0", default-features = false, features = ["std", "billing", "disable-timer", "disallow_large_window_size", "external-literal-probability", "ffi-api", "float64", "floating_point_context_mixing", "no-stdlib-ffi-binding", "pass-through-ffi-panics", "seccomp", "simd", "validation", "vector_scratch_space", "benchmark"] }
- default = std
-
The
std
feature is set by default wheneverbrotli
is added without
somewhere in the dependency tree.default-features = false - std default = alloc-stdlib
-
Enables std of brotli-decompressor
Affects
enc::compress_multi
,enc::BrotliCompress
,enc::BrotliCompressCustomAlloc
,reader::CompressorReaderCustomAlloc
,reader::CompressorReader
,singlethreading::SingleThreadedOwnedRetriever
,threading::LowLevelThreadError
,util::FastLog2
,util::FastLog2f64
,util::FastPow2
,writer::CompressorWriterCustomAlloc
,writer::CompressorWriter
,compressor::catch_panic
,decompressor::CBrotliDecoderDecompress
… - billing
- disable-timer
-
Enables disable-timer of brotli-decompressor
- disallow_large_window_size
- external-literal-probability
-
Affects
interface::FeatureFlagSliceType
… - ffi-api
-
Enables ffi-api of brotli-decompressor
Affects
brotli::ffi
… - float64
-
Affects
util::floatX
… - floating_point_context_mixing
- no-stdlib-ffi-binding
- pass-through-ffi-panics
-
Affects
compressor::catch_panic
… - seccomp
-
Enables seccomp of brotli-decompressor
Affects
brotli::decompress
… - simd
-
Affects
enc::s16
,enc::v8
,enc::s8
… - validation = sha2
- vector_scratch_space
-
Affects
histogram::HistogramLiteralScratch
,histogram::HistogramCommandScratch
,histogram::HistogramDistanceScratch
… - benchmark
-
Enables benchmark of brotli-decompressor
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.