Debian Codegraph @

third_party/rust/encoding_rs/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2018"
14 rust-version = "1.36"
15 name = "encoding_rs"
16 version = "0.8.35"
17 authors = ["Henri Sivonen <[email protected]>"]
18 build = false
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "A Gecko-oriented implementation of the Encoding Standard"
25 homepage = "https://docs.rs/encoding_rs/"
26 documentation = "https://docs.rs/encoding_rs/"
27 readme = "README.md"
28 keywords = [
29 "encoding",
30 "web",
31 "unicode",
32 "charset",
33 ]
34 categories = [
35 "text-processing",
36 "encoding",
37 "web-programming",
38 "internationalization",
39 ]
40 license = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
41 repository = "https://github.com/hsivonen/encoding_rs"
42
43 [features]
44 alloc = []
45 default = ["alloc"]
46 fast-big5-hanzi-encode = []
47 fast-gb-hanzi-encode = []
48 fast-hangul-encode = []
49 fast-hanja-encode = []
50 fast-kanji-encode = []
51 fast-legacy-encode = [
52 "fast-hangul-encode",
53 "fast-hanja-encode",
54 "fast-kanji-encode",
55 "fast-gb-hanzi-encode",
56 "fast-big5-hanzi-encode",
57 ]
58 less-slow-big5-hanzi-encode = []
59 less-slow-gb-hanzi-encode = []
60 less-slow-kanji-encode = []
61 simd-accel = [
62 "any_all_workaround",
63 "rustversion",
64 ]
65
66 [lib]
67 name = "encoding_rs"
68 path = "src/lib.rs"
69
70 [dependencies]
71 cfg-if = "1.0"
72
73 [dependencies.any_all_workaround]
74 version = "0.1.0"
75 optional = true
76
77 [dependencies.rustversion]
78 version = "1.0.19"
79 optional = true
80
81 [dependencies.serde]
82 version = "1.0"
83 optional = true
84
85 [dev-dependencies]
86 bincode = "1.0"
87 serde_derive = "1.0"
88 serde_json = "1.0"
89
90 [profile.release]
91 lto = true