Debian Codegraph @

debian/rust-vendor/litemap/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.82"
15 name = "litemap"
16 version = "0.8.3"
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 = "A key-value Map implementation based on a flat, sorted Vec."
36 documentation = "https://docs.rs/litemap"
37 readme = "README.md"
38 keywords = [
39 "data-structures",
40 "memory-efficiency",
41 "sorted",
42 "vec",
43 "map",
44 ]
45 license = "Unicode-3.0"
46 repository = "https://github.com/unicode-org/icu4x"
47
48 [package.metadata.workspaces]
49 independent = true
50
51 [package.metadata.docs.rs]
52 all-features = true
53
54 [package.metadata.cargo-all-features]
55 max_combination_size = 3
56
57 [features]
58 alloc = []
59 databake = ["dep:databake"]
60 default = ["alloc"]
61 serde = [
62 "dep:serde_core",
63 "alloc",
64 ]
65 testing = ["alloc"]
66 yoke = ["dep:yoke"]
67
68 [lib]
69 name = "litemap"
70 path = "src/lib.rs"
71 bench = false
72
73 [[example]]
74 name = "language_names_hash_map"
75 path = "examples/language_names_hash_map.rs"
76
77 [[example]]
78 name = "language_names_lite_map"
79 path = "examples/language_names_lite_map.rs"
80
81 [[example]]
82 name = "litemap_bincode"
83 path = "examples/litemap_bincode.rs"
84 required-features = ["serde"]
85
86 [[example]]
87 name = "litemap_postcard"
88 path = "examples/litemap_postcard.rs"
89 required-features = ["serde"]
90
91 [[test]]
92 name = "rkyv"
93 path = "tests/rkyv.rs"
94
95 [[test]]
96 name = "serde"
97 path = "tests/serde.rs"
98 required-features = ["serde"]
99
100 [[test]]
101 name = "store"
102 path = "tests/store.rs"
103 required-features = ["testing"]
104
105 [[bench]]
106 name = "litemap"
107 path = "benches/litemap.rs"
108 harness = false
109 required-features = ["serde"]
110
111 [dependencies.databake]
112 version = "0.2.0"
113 optional = true
114 default-features = false
115
116 [dependencies.serde_core]
117 version = "1.0.220"
118 features = ["alloc"]
119 optional = true
120 default-features = false
121
122 [dependencies.yoke]
123 version = "0.8.3"
124 features = ["derive"]
125 optional = true
126 default-features = false
127
128 [dev-dependencies.bincode]
129 version = "1.3.1"
130
131 [dev-dependencies.postcard]
132 version = "1.0.3"
133 features = ["use-std"]
134 default-features = false
135
136 [dev-dependencies.rand]
137 version = "0.9"
138
139 [dev-dependencies.rkyv]
140 version = "0.7"
141 features = ["validation"]
142
143 [dev-dependencies.serde_core]
144 version = "1.0.220"
145 default-features = false
146
147 [dev-dependencies.serde_json]
148 version = "1.0.45"
149
150 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
151 version = "0.5.0"
152
153 [lints.clippy]
154 alloc_instead_of_core = "warn"
155 bool_assert_comparison = "allow"
156 branches_sharing_code = "warn"
157 collection_is_never_read = "warn"
158 crosspointer_transmute = "warn"
159 dbg_macro = "warn"
160 debug_assert_with_mut_call = "warn"
161 doc_markdown = "warn"
162 exhaustive_enums = "deny"
163 exhaustive_structs = "deny"
164 fn_to_numeric_cast_any = "warn"
165 infinite_loop = "warn"
166 large_stack_arrays = "warn"
167 mismatching_type_param_order = "warn"
168 missing_fields_in_debug = "warn"
169 missing_transmute_annotations = "warn"
170 negative_feature_names = "warn"
171 or_fun_call = "warn"
172 same_functions_in_if_condition = "warn"
173 todo = "warn"
174 transmute_bytes_to_str = "warn"
175 transmute_int_to_bool = "warn"
176 transmute_int_to_non_zero = "warn"
177 transmute_ptr_to_ptr = "warn"
178 transmute_ptr_to_ref = "warn"
179 transmute_undefined_repr = "warn"
180 transmutes_expressible_as_ptr_casts = "warn"
181 trivially_copy_pass_by_ref = "deny"
182 unnecessary_wraps = "warn"
183 useless_transmute = "warn"
184 wildcard_dependencies = "warn"
185
186 [lints.rust]
187 missing_debug_implementations = "deny"
188 trivial_numeric_casts = "deny"
189 unused_lifetimes = "warn"
190 unused_macro_rules = "warn"
191 unused_qualifications = "warn"
192
193 [lints.rust.unexpected_cfgs]
194 level = "warn"
195 priority = 0
196 check-cfg = [
197 "cfg(icu4c_enable_renaming)",
198 "cfg(needs_alloc_error_handler)",
199 "cfg(icu4x_nightly_tests)",
200 "cfg(icu4x_run_size_tests)",
201 "cfg(icu4x_unstable_fast_trie_only)",
202 ]