Email me

Crate features / critical-section

Feature flags · critical-section 1.2.0 · from crates.io 2026-10-24

critical-section features: what each one does, and the line to copy

Short answercritical-section 1.2.0 has 8 features. Nothing is on by default: turn on what you use.

Pick features

1.2.0latest version
8features
0optional dependencies
not setMSRV (rust-version)

Every feature

FeatureIn defaultTurns on
restore-state-boolnothing else (a switch the code checks)
restore-state-nonenothing else (a switch the code checks)
restore-state-u16nothing else (a switch the code checks)
restore-state-u32nothing else (a switch the code checks)
restore-state-u64nothing else (a switch the code checks)
restore-state-u8nothing else (a switch the code checks)
restore-state-usizenothing else (a switch the code checks)
stdrestore-state-bool

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

More on critical-section

Real downloads, dependents and alternatives: critical-section crate data (463K real downloads a day, 793 dependents).

docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2018

Up next

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