Debian Codegraph @

debian/rust-vendor/icu_pattern/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 = "2024"
14 rust-version = "1.88"
15 name = "icu_pattern"
16 version = "0.5.0"
17 authors = ["The ICU4X Project Developers"]
18 build = false
19 include = [
20 "data/**/*",
21 "src/**/*",
22 "examples/**/*",
23 "benches/**/*",
24 "tests/**/*",
25 "Cargo.toml",
26 "LICENSE",
27 "README.md",
28 "build.rs",
29 ]
30 autolib = false
31 autobins = false
32 autoexamples = false
33 autotests = false
34 autobenches = false
35 description = "ICU pattern utilities"
36 readme = "README.md"
37 keywords = [
38 "unicode",
39 "patterns",
40 "formatting",
41 ]
42 license = "Unicode-3.0"
43 repository = "https://github.com/unicode-org/icu4x"
44 resolver = "2"
45
46 [package.metadata.workspaces]
47 independent = true
48
49 [package.metadata.docs.rs]
50 all-features = true
51
52 [package.metadata.cargo-all-features]
53 max_combination_size = 3
54
55 [features]
56 alloc = [
57 "serde?/alloc",
58 "writeable/alloc",
59 "zerovec?/alloc",
60 ]
61 databake = ["dep:databake"]
62 default = []
63 litemap = ["dep:litemap"]
64 serde = [
65 "alloc",
66 "dep:serde",
67 ]
68 unstable = []
69 yoke = ["dep:yoke"]
70 zerovec = [
71 "dep:zerovec",
72 "alloc",
73 ]
74
75 [lib]
76 name = "icu_pattern"
77 path = "src/lib.rs"
78
79 [[test]]
80 name = "derive_test"
81 path = "tests/derive_test.rs"
82
83 [[test]]
84 name = "extraction"
85 path = "tests/extraction.rs"
86
87 [dependencies.databake]
88 version = "0.2.0"
89 features = ["derive"]
90 optional = true
91 default-features = false
92
93 [dependencies.displaydoc]
94 version = "0.2.3"
95 default-features = false
96
97 [dependencies.either]
98 version = "1.9.0"
99 default-features = false
100
101 [dependencies.litemap]
102 version = "0.8.0"
103 optional = true
104 default-features = false
105
106 [dependencies.serde]
107 version = "1.0.220"
108 features = ["derive"]
109 optional = true
110 default-features = false
111
112 [dependencies.writeable]
113 version = "0.6.4"
114 features = ["either"]
115 default-features = false
116
117 [dependencies.yoke]
118 version = "0.8.3"
119 features = ["derive"]
120 optional = true
121 default-features = false
122
123 [dependencies.zerovec]
124 version = "0.11.7"
125 optional = true
126 default-features = false
127
128 [dev-dependencies.litemap]
129 version = "0.8.0"
130 features = ["alloc"]
131 default-features = false
132
133 [dev-dependencies.postcard]
134 version = "1.0.3"
135 features = ["use-std"]
136 default-features = false
137
138 [dev-dependencies.rmp-serde]
139 version = "1.2.0"
140
141 [dev-dependencies.serde_json]
142 version = "1.0.45"
143
144 [dev-dependencies.zerofrom]
145 version = "0.1.6"
146 features = ["alloc"]
147 default-features = false
148
149 [dev-dependencies.zerovec]
150 version = "0.11.7"
151 features = [
152 "databake",
153 "serde",
154 ]
155 default-features = false
156
157 [lints.clippy]
158 alloc_instead_of_core = "warn"
159 bool_assert_comparison = "allow"
160 branches_sharing_code = "warn"
161 collection_is_never_read = "warn"
162 crosspointer_transmute = "warn"
163 dbg_macro = "warn"
164 debug_assert_with_mut_call = "warn"
165 doc_markdown = "warn"
166 exhaustive_enums = "deny"
167 exhaustive_structs = "deny"
168 fn_to_numeric_cast_any = "warn"
169 infinite_loop = "warn"
170 large_stack_arrays = "warn"
171 mismatching_type_param_order = "warn"
172 missing_fields_in_debug = "warn"
173 missing_transmute_annotations = "warn"
174 negative_feature_names = "warn"
175 or_fun_call = "warn"
176 same_functions_in_if_condition = "warn"
177 todo = "warn"
178 transmute_bytes_to_str = "warn"
179 transmute_int_to_bool = "warn"
180 transmute_int_to_non_zero = "warn"
181 transmute_ptr_to_ptr = "warn"
182 transmute_ptr_to_ref = "warn"
183 transmute_undefined_repr = "warn"
184 transmutes_expressible_as_ptr_casts = "warn"
185 trivially_copy_pass_by_ref = "deny"
186 unnecessary_wraps = "warn"
187 useless_transmute = "warn"
188 wildcard_dependencies = "warn"
189
190 [lints.rust]
191 missing_debug_implementations = "deny"
192 trivial_numeric_casts = "deny"
193 unused_lifetimes = "warn"
194 unused_macro_rules = "warn"
195 unused_qualifications = "warn"
196
197 [lints.rust.unexpected_cfgs]
198 level = "warn"
199 priority = 0
200 check-cfg = [
201 "cfg(icu4c_enable_renaming)",
202 "cfg(needs_alloc_error_handler)",
203 "cfg(icu4x_nightly_tests)",
204 "cfg(icu4x_run_size_tests)",
205 "cfg(icu4x_unstable_fast_trie_only)",
206 ]