1[package]
2name = "encoding_rs"
3description = "A Gecko-oriented implementation of the Encoding Standard"
4version = "0.8.33"
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"]
14
15[badges]
16travis-ci = { repository = "hsivonen/encoding_rs" }
17
18[features]
19default = ["alloc"]
20alloc = []
21simd-accel = ["packed_simd", "packed_simd/into_bits"]
22less-slow-kanji-encode = []
23less-slow-big5-hanzi-encode = []
24less-slow-gb-hanzi-encode = []
25fast-hangul-encode = []
26fast-hanja-encode = []
27fast-kanji-encode = []
28fast-gb-hanzi-encode = []
29fast-big5-hanzi-encode = []
30fast-legacy-encode = ["fast-hangul-encode",
31 "fast-hanja-encode",
32 "fast-kanji-encode",
33 "fast-gb-hanzi-encode",
34 "fast-big5-hanzi-encode"]
35
36[dependencies]
37cfg-if = "1.0"
38packed_simd = { version = "0.3.9", optional = true }
39serde = { version = "1.0", optional = true }
40
41[dev-dependencies]
42serde_derive = "1.0"
43bincode = "1.0"
44serde_json = "1.0"
45
46[profile.release]
47lto = true
48