Email me

Crate features / zstd-sys

Feature flags · zstd-sys 2.1.2+zstd.1.5.7 · from crates.io 2026-10-24

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

Short answerzstd-sys 2.1.2+zstd.1.5.7 has 16 features. By default it turns on legacy, zdict_builder; add default-features = false to start from nothing. It needs Rust 1.64 or newer.

Pick features

2.1.2+zstd.1.5.7latest version
16features
1optional dependencies
1.64MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
cmakedep:cmake
debugnothing else (a switch the code checks)
experimentalnothing else (a switch the code checks)
fat-ltonothing else (a switch the code checks)
legacyyesnothing else (a switch the code checks)
no_asmnothing else (a switch the code checks)
no_wasm_shimnothing else (a switch the code checks)
non-cargonothing else (a switch the code checks)
pkg-confignothing else (a switch the code checks)
seekablenothing else (a switch the code checks)
stdnothing else (a switch the code checks)
thinnothing else (a switch the code checks)
thin-ltonothing else (a switch the code checks)
vendorednothing else (a switch the code checks)
zdict_builderyesnothing else (a switch the code checks)
zstdmtnothing 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 zstd-sys declares (rust-version), and the release that changed it:

  • 2.0.4+zstd.1.5.2 (2022-11-28): Rust 1.43
  • 2.0.9+zstd.1.5.5 (2023-10-11): Rust 1.64

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

More on zstd-sys

Real downloads, dependents and alternatives: zstd-sys crate data (1.1M real downloads a day, 57 dependents).

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

Up next

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