Email me

Crate features / borsh

Feature flags · borsh 1.8.1 · from crates.io 2026-10-24

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

Short answerborsh 1.8.1 has 5 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.77.0 or newer.

Pick features

1.8.1latest version
5features
0optional dependencies
1.77.0MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
de_strict_ordernothing else (a switch the code checks)
deriveborsh-derive
rcnothing else (a switch the code checks)
stdyesbytes?/std
unstable__schemaderive, borsh-derive/schema

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

  • 1.0.0-alpha.1 (2023-08-09): Rust 1.66.0
  • 1.3.1 (2024-01-10): Rust 1.67.0
  • 0.10.4 (2024-09-23): Rust 1.66.0
  • 1.5.2 (2024-11-07): Rust 1.67.0
  • 1.6.0 (2025-11-25): Rust 1.77.0

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

More on borsh

Real downloads, dependents and alternatives: borsh crate data (674.1K real downloads a day, 1,483 dependents).

Security record: borsh advisories.

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

Up next

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