Cargo Features
[dependencies]
encoding_rs = { version = "0.8.35", default-features = false, features = ["alloc", "simd-accel", "less-slow-big5-hanzi-encode", "less-slow-gb-hanzi-encode", "fast-hanja-encode", "fast-gb-hanzi-encode", "fast-big5-hanzi-encode", "fast-legacy-encode", "serde"] }
- default = alloc
-
The
allocfeature is set by default wheneverencoding_rsis added withoutsomewhere 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 less-slow-big5-hanzi-encode
- less-slow-gb-hanzi-encode
- fast-hangul-encode fast-hanja-encode fast-legacy-encode?
- fast-kanji-encode fast-gb-hanzi-encode fast-legacy-encode?
- fast-big5-hanzi-encode fast-legacy-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?