Debian Codegraph @

debian/rust-vendor/icu_properties/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_properties"
16 version = "2.3.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 = "Definitions for Unicode properties"
36 homepage = "https://icu4x.unicode.org"
37 readme = "README.md"
38 keywords = [
39 "character-properties",
40 "unicode",
41 ]
42 categories = [
43 "internationalization",
44 "localization",
45 "no-std",
46 "embedded",
47 ]
48 license = "Unicode-3.0"
49 repository = "https://github.com/unicode-org/icu4x"
50 resolver = "2"
51
52 [package.metadata.docs.rs]
53 all-features = true
54
55 [package.metadata.cargo-all-features]
56 max_combination_size = 3
57
58 [package.metadata.cargo-semver-checks.lints]
59 workspace = true
60
61 [features]
62 alloc = [
63 "zerovec/alloc",
64 "icu_collections/alloc",
65 "serde?/alloc",
66 ]
67 compiled_data = [
68 "dep:icu_properties_data",
69 "icu_provider/baked",
70 ]
71 datagen = [
72 "serde",
73 "dep:databake",
74 "zerovec/databake",
75 "icu_collections/databake",
76 "icu_locale_core/databake",
77 "zerotrie/databake",
78 "icu_provider/export",
79 ]
80 default = ["compiled_data"]
81 harfbuzz_traits = ["dep:harfbuzz-traits"]
82 log = ["dep:log"]
83 serde = [
84 "dep:serde",
85 "icu_locale_core/serde",
86 "zerovec/serde",
87 "icu_collections/serde",
88 "icu_provider/serde",
89 "zerotrie/serde",
90 ]
91 unicode_bidi = ["dep:unicode-bidi"]
92 unstable = []
93
94 [lib]
95 name = "icu_properties"
96 path = "src/lib.rs"
97
98 [dependencies.databake]
99 version = "0.2.0"
100 features = ["derive"]
101 optional = true
102 default-features = false
103
104 [dependencies.displaydoc]
105 version = "0.2.3"
106 default-features = false
107
108 [dependencies.harfbuzz-traits]
109 version = "0.6.0"
110 optional = true
111 default-features = false
112
113 [dependencies.icu_collections]
114 version = "~2.3.0"
115 default-features = false
116
117 [dependencies.icu_locale_core]
118 version = "2.3.0"
119 features = ["zerovec"]
120 default-features = false
121
122 [dependencies.icu_properties_data]
123 version = "~2.3.0"
124 optional = true
125 default-features = false
126
127 [dependencies.icu_provider]
128 version = "2.3.0"
129 default-features = false
130
131 [dependencies.log]
132 version = "0.4.17"
133 optional = true
134 default-features = false
135
136 [dependencies.serde]
137 version = "1.0.220"
138 features = ["derive"]
139 optional = true
140 default-features = false
141
142 [dependencies.unicode-bidi]
143 version = "0.3.11"
144 optional = true
145 default-features = false
146
147 [dependencies.zerotrie]
148 version = "0.2.5"
149 features = [
150 "yoke",
151 "zerofrom",
152 ]
153 default-features = false
154
155 [dependencies.zerovec]
156 version = "0.11.7"
157 features = [
158 "derive",
159 "yoke",
160 ]
161 default-features = false
162
163 [dev-dependencies]
164
165 [lints.clippy]
166 alloc_instead_of_core = "warn"
167 bool_assert_comparison = "allow"
168 branches_sharing_code = "warn"
169 collection_is_never_read = "warn"
170 crosspointer_transmute = "warn"
171 dbg_macro = "warn"
172 debug_assert_with_mut_call = "warn"
173 doc_markdown = "warn"
174 exhaustive_enums = "deny"
175 exhaustive_structs = "deny"
176 fn_to_numeric_cast_any = "warn"
177 infinite_loop = "warn"
178 large_stack_arrays = "warn"
179 mismatching_type_param_order = "warn"
180 missing_fields_in_debug = "warn"
181 missing_transmute_annotations = "warn"
182 negative_feature_names = "warn"
183 or_fun_call = "warn"
184 same_functions_in_if_condition = "warn"
185 todo = "warn"
186 transmute_bytes_to_str = "warn"
187 transmute_int_to_bool = "warn"
188 transmute_int_to_non_zero = "warn"
189 transmute_ptr_to_ptr = "warn"
190 transmute_ptr_to_ref = "warn"
191 transmute_undefined_repr = "warn"
192 transmutes_expressible_as_ptr_casts = "warn"
193 trivially_copy_pass_by_ref = "deny"
194 unnecessary_wraps = "warn"
195 useless_transmute = "warn"
196 wildcard_dependencies = "warn"
197
198 [lints.rust]
199 missing_debug_implementations = "deny"
200 trivial_numeric_casts = "deny"
201 unused_lifetimes = "warn"
202 unused_macro_rules = "warn"
203 unused_qualifications = "warn"
204
205 [lints.rust.unexpected_cfgs]
206 level = "warn"
207 priority = 0
208 check-cfg = [
209 "cfg(icu4c_enable_renaming)",
210 "cfg(needs_alloc_error_handler)",
211 "cfg(icu4x_nightly_tests)",
212 "cfg(icu4x_run_size_tests)",
213 "cfg(icu4x_unstable_fast_trie_only)",
214 ]