Email me

Crate features / encoding_rs

Feature flags · encoding_rs 0.8.42 · from crates.io 2026-10-24

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

Short answerencoding_rs 0.8.42 has 12 features. By default it turns on alloc; add default-features = false to start from nothing. It needs Rust 1.88 or newer.

Pick features

0.8.42latest version
12features
1optional dependencies
1.88MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
allocyesnothing else (a switch the code checks)
fast-big5-hanzi-encodenothing else (a switch the code checks)
fast-gb-hanzi-encodenothing else (a switch the code checks)
fast-hangul-encodenothing else (a switch the code checks)
fast-hanja-encodenothing else (a switch the code checks)
fast-kanji-encodenothing else (a switch the code checks)
fast-legacy-encodefast-hangul-encode, fast-hanja-encode, fast-kanji-encode, fast-gb-hanzi-encode, fast-big5-hanzi-encode
less-slow-big5-hanzi-encodenothing else (a switch the code checks)
less-slow-gb-hanzi-encodenothing else (a switch the code checks)
less-slow-kanji-encodenothing else (a switch the code checks)
simd-accelany_all_workaround, rustversion
stddep:multiversion

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

  • 0.8.34 (2024-04-10): Rust 1.36
  • 0.8.40 (2026-09-07): Rust 1.88

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

More on encoding_rs

docs.rs feature list · crates.io · license (Apache-2.0 OR MIT) AND BSD-3-Clause · edition 2024

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