Cargo Features
[dependencies]
encoding_rs = { version = "0.8.35", default-features = false, features = ["alloc", "simd-accel", "less-slow-kanji-encode", "less-slow-big5-hanzi-encode", "less-slow-gb-hanzi-encode", "fast-hangul-encode", "fast-hanja-encode", "fast-kanji-encode", "fast-gb-hanzi-encode", "fast-big5-hanzi-encode", "fast-legacy-encode", "serde"] }
- default = alloc
-
The
alloc
feature is set by default wheneverencoding_rs
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
Affects
mem::decode_latin1
,mem::encode_latin1_lossy
… - simd-accel = any_all_workaround
- less-slow-kanji-encode
-
Affects
data::jis0208_level1_kanji_shift_jis_encode
,data::jis0208_level1_kanji_euc_jp_encode
,data::jis0208_level1_kanji_iso_2022_jp_encode
… - less-slow-big5-hanzi-encode
-
Affects
data::big5_level1_hanzi_encode
… - less-slow-gb-hanzi-encode
-
Affects
data::gb2312_level1_hanzi_encode
… - fast-hangul-encode fast-legacy-encode?
-
Affects
data::cp949_hangul_encode
… - fast-hanja-encode fast-legacy-encode?
-
Affects
data::ksx1001_unified_hangul_encode
,data::ksx1001_compatibility_hangul_encode
… - fast-kanji-encode fast-legacy-encode?
-
Affects
data::jis0208_kanji_shift_jis_encode
,data::jis0208_kanji_euc_jp_encode
,data::jis0208_kanji_iso_2022_jp_encode
… - fast-gb-hanzi-encode fast-legacy-encode?
-
Affects
data::gbk_hanzi_encode
… - fast-big5-hanzi-encode fast-legacy-encode?
-
Affects
data::big5_level1_hanzi_encode
,data::big5_other_encode
… - fast-legacy-encode = fast-big5-hanzi-encode, fast-gb-hanzi-encode, fast-hangul-encode, fast-hanja-encode, fast-kanji-encode
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- any_all_workaround simd-accel?