Debian Codegraph @

third_party/rust/icu_locid_transform/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 = "2021"
14 rust-version = "1.67"
15 name = "icu_locid_transform"
16 version = "1.5.0"
17 authors = ["The ICU4X Project Developers"]
18 include = [
19 "data/**/*",
20 "src/**/*",
21 "examples/**/*",
22 "benches/**/*",
23 "tests/**/*",
24 "Cargo.toml",
25 "LICENSE",
26 "README.md",
27 ]
28 description = "API for Unicode Language and Locale Identifiers canonicalization"
29 homepage = "https://icu4x.unicode.org"
30 readme = "README.md"
31 categories = ["internationalization"]
32 license = "Unicode-3.0"
33 repository = "https://github.com/unicode-org/icu4x"
34
35 [package.metadata.cargo-all-features]
36 denylist = ["bench"]
37 skip_optional_dependencies = true
38
39 [package.metadata.docs.rs]
40 all-features = true
41
42 [lib]
43 bench = false
44
45 [[test]]
46 name = "locale_canonicalizer"
47 required-features = ["serde"]
48
49 [[bench]]
50 name = "locale_canonicalizer"
51 harness = false
52
53 [dependencies.databake]
54 version = "0.1.8"
55 features = ["derive"]
56 optional = true
57 default-features = false
58
59 [dependencies.displaydoc]
60 version = "0.2.3"
61 default-features = false
62
63 [dependencies.icu_locid]
64 version = "~1.5.0"
65 features = ["zerovec"]
66 default-features = false
67
68 [dependencies.icu_locid_transform_data]
69 version = "~1.5.0"
70 optional = true
71 default-features = false
72
73 [dependencies.icu_provider]
74 version = "~1.5.0"
75 features = ["macros"]
76 default-features = false
77
78 [dependencies.serde]
79 version = "1.0.110"
80 features = [
81 "derive",
82 "alloc",
83 ]
84 optional = true
85 default-features = false
86
87 [dependencies.tinystr]
88 version = "0.7.5"
89 features = [
90 "alloc",
91 "zerovec",
92 ]
93 default-features = false
94
95 [dependencies.zerovec]
96 version = "0.10.2"
97 features = ["yoke"]
98 default-features = false
99
100 [dev-dependencies.serde]
101 version = "1.0.110"
102 features = ["derive"]
103 default-features = false
104
105 [dev-dependencies.serde_json]
106 version = "1.0.45"
107
108 [features]
109 bench = ["serde"]
110 compiled_data = ["dep:icu_locid_transform_data"]
111 datagen = [
112 "serde",
113 "dep:databake",
114 "zerovec/databake",
115 "icu_locid/databake",
116 "tinystr/databake",
117 ]
118 default = ["compiled_data"]
119 serde = [
120 "dep:serde",
121 "icu_locid/serde",
122 "tinystr/serde",
123 "zerovec/serde",
124 "icu_provider/serde",
125 ]
126 std = []
127
128 [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion]
129 version = "0.5.0"