Email me

Crate features / snafu

Feature flags · snafu 0.9.2 · from crates.io 2026-10-24

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

Short answersnafu 0.9.2 has 13 features. By default it turns on std, rust_1_81; add default-features = false to start from nothing. It needs Rust 1.65 or newer.

Pick features

0.9.2latest version
13features
4optional dependencies
1.65MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
allocnothing else (a switch the code checks)
backtracenothing else (a switch the code checks)
backtraces-impl-backtrace-cratedep:backtrace
futuresdep:futures-core, dep:pin-project
futures-core-cratenothing else (a switch the code checks)
futures-cratenothing else (a switch the code checks)
guidenothing else (a switch the code checks)
internal-dev-dependenciesdep:futures
pin-projectnothing else (a switch the code checks)
rust_1_81yesnothing else (a switch the code checks)
stdyesalloc
unstable-provider-apisnafu-derive/unstable-provider-api
unstable-try-traitnothing 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 snafu declares (rust-version), and the release that changed it:

  • 0.8.0 (2023-12-30): Rust 1.56
  • 0.9.0 (2026-03-02): Rust 1.65

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

More on snafu

Real downloads, dependents and alternatives: snafu crate data (263.5K real downloads a day, 998 dependents).

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

Up next

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