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