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