Email me

Crate features / zstd

Feature flags · zstd 0.14.3 · from crates.io 2026-10-24

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

Short answerzstd 0.14.3 has 17 features. By default it turns on legacy, arrays, zdict_builder; add default-features = false to start from nothing. It needs Rust 1.64 or newer.

Pick features

0.14.3latest version
17features
0optional dependencies
1.64MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
arraysyeszstd-safe/arrays
bindgenzstd-safe/bindgen
cmakezstd-safe/cmake
debugzstd-safe/debug
doc-cfgnothing else (a switch the code checks)
experimentalzstd-safe/experimental
fat-ltozstd-safe/fat-lto
legacyyeszstd-safe/legacy
no_asmzstd-safe/no_asm
pkg-configzstd-safe/pkg-config
thinzstd-safe/thin
thin-ltozstd-safe/thin-lto
vendoredzstd-safe/vendored
wasmnothing else (a switch the code checks)
with-rust-allocatorzstd-safe/with-rust-allocator
zdict_builderyeszstd-safe/zdict_builder
zstdmtzstd-safe/zstdmt

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 zstd declares (rust-version), and the release that changed it:

  • 0.12.1+zstd.1.5.2 (2022-12-06): Rust 1.51
  • 0.12.2+zstd.1.5.2 (2023-01-11): Rust 1.43
  • 0.13.0 (2023-10-11): Rust 1.64

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

More on zstd

Real downloads, dependents and alternatives: zstd crate data (1.1M real downloads a day, 2,614 dependents).

docs.rs feature list · crates.io · license BSD-3-Clause · edition 2018

Up next

Before you depend on itzstd 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