1[package]
2name = "encoding_rs"
3description = "A Gecko-oriented implementation of the Encoding Standard"
4version = "0.8.35"
5edition = '2018'
6authors = ["Henri Sivonen <hsivonen@hsivonen.fi>"]
7license = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
8readme = "README.md"
9documentation = "https://docs.rs/encoding_rs/"
10homepage = "https://docs.rs/encoding_rs/"
11repository = "https://github.com/hsivonen/encoding_rs"
12keywords = ["encoding", "web", "unicode", "charset"]
13categories = ["text-processing", "encoding", "web-programming", "internationalization"]
14rust-version = "1.36"
15
16[features]
17default = ["alloc"]
18alloc = []
19simd-accel = ["any_all_workaround"]
20less-slow-kanji-encode = []
21less-slow-big5-hanzi-encode = []
22less-slow-gb-hanzi-encode = []
23fast-hangul-encode = []
24fast-hanja-encode = []
25fast-kanji-encode = []
26fast-gb-hanzi-encode = []
27fast-big5-hanzi-encode = []
28fast-legacy-encode = ["fast-hangul-encode",
29 "fast-hanja-encode",
30 "fast-kanji-encode",
31 "fast-gb-hanzi-encode",
32 "fast-big5-hanzi-encode"]
33
34[dependencies]
35cfg-if = "1.0"
36serde = { version = "1.0", optional = true }
37any_all_workaround = { version = "0.1.0" , optional = true }
38
39[dev-dependencies]
40serde_derive = "1.0"
41bincode = "1.0"
42serde_json = "1.0"
43
44[profile.release]
45lto = true
46