Email me

Crate features / compact_str

Feature flags · compact_str 0.10.0 · from crates.io 2026-10-24

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

Short answercompact_str 0.10.0 has 23 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.71 or newer.

Pick features

0.10.0latest version
23features
19optional dependencies
1.71MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
arbitrarydep:arbitrary
bevy-reflectdep:bevy_reflect, serde
borshdep:borsh
bytesdep:bytes
defmtdep:defmt
dieseldep:diesel
gardedep:garde
markupdep:markup
proptestdep:proptest
pyo3dep:pyo3
quickcheckdep:quickcheck
rkyvdep:rkyv
schemarsdep:schemars
serdedep:serde
smallvecdep:smallvec
sqlxdep:sqlx, std
sqlx-mysqlsqlx, sqlx/mysql
sqlx-postgressqlx, sqlx/postgres
sqlx-sqlitesqlx, sqlx/sqlite
stdyesnothing else (a switch the code checks)
utoipadep:utoipa, std
valuabledep:valuable
zeroizedep:zeroize

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

  • 0.10.0 (2026-07-13): Rust 1.71

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

More on compact_str

docs.rs feature list · crates.io · license MIT · edition 2021

Up next

Next crateFeature flags for every popular crateRead 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