Email me

Crate features / brotli

Feature flags · brotli 9.0.0 · from crates.io 2026-10-24

brotli features: what each one does, and the line to copy

Short answerbrotli 9.0.0 has 17 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.59.0 or newer.

Pick features

9.0.0latest version
17features
0optional dependencies
1.59.0MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
benchmarkbrotli-decompressor/benchmark
billingnothing else (a switch the code checks)
disable-timerbrotli-decompressor/disable-timer
disallow_large_window_sizenothing else (a switch the code checks)
external-literal-probabilitynothing else (a switch the code checks)
ffi-apibrotli-decompressor/ffi-api
float64nothing else (a switch the code checks)
floating_point_context_mixingnothing else (a switch the code checks)
no-stdlib-ffi-bindingnothing else (a switch the code checks)
pass-through-ffi-panicsnothing else (a switch the code checks)
portable-floatnothing else (a switch the code checks)
safenothing else (a switch the code checks)
seccompalloc-no-stdlib/unsafe, brotli-decompressor/seccomp
simdnothing else (a switch the code checks)
stdyesalloc-stdlib, brotli-decompressor/std
validationsha2
vector_scratch_spacenothing else (a switch the code checks)

dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).

MSRV history

The minimum Rust version brotli declares (rust-version), and the release that changed it:

  • 3.5.0 (2024-03-17): Rust 1.56.0
  • 7.0.0 (2024-10-02): Rust 1.59.0

Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p brotli --precise <version>, or use resolver 3, which picks compatible versions for you.

More on brotli

Real downloads, dependents and alternatives: brotli crate data (841.3K real downloads a day, 613 dependents).

docs.rs feature list · crates.io · license BSD-3-Clause AND MIT · edition 2015

Up next

Before you depend on itbrotli crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ