Email me

Crate features / const_format

Feature flags · const_format 0.2.37 · from crates.io 2026-10-24

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

Short answerconst_format 0.2.37 has 18 features. Nothing is on by default: turn on what you use. It needs Rust 1.71.0 or newer.

Pick features

0.2.37latest version
18features
0optional dependencies
1.71.0MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
__debugconst_format_proc_macros/debug
__docsrsnothing else (a switch the code checks)
__inline_const_pat_tests__test, fmt
__only_new_tests__test
__testnothing else (a switch the code checks)
allfmt, derive, rust_1_64, assert
assertassertc
assertcfmt, assertcp
assertcprust_1_51
const_genericsrust_1_51
constant_time_as_strfmt
derivefmt, const_format_proc_macros/derive
fmtrust_1_83
more_str_macrosrust_1_64
nightly_const_genericsconst_generics
rust_1_51nothing else (a switch the code checks)
rust_1_64rust_1_51
rust_1_83rust_1_64

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

  • 0.2.32 (2023-10-14): Rust 1.57.0
  • 0.2.36 (2026-04-17): Rust 1.71.0

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

More on const_format

docs.rs feature list · crates.io · license Zlib · 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