Debian Codegraph @

debian/missing-sources/litemap/Cargo.toml

raw symbols SCIP
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.1"
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 "sorted",
40 "vec",
41 "map",
42 "hashmap",
43 "btreemap",
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 [features]
55 alloc = []
56 databake = ["dep:databake"]
57 default = ["alloc"]
58 serde = [
59 "dep:serde_core",
60 "alloc",
61 ]
62 testing = ["alloc"]
63 yoke = ["dep:yoke"]
64
65 [lib]
66 name = "litemap"
67 path = "src/lib.rs"
68 bench = false
69
70 [[example]]
71 name = "language_names_hash_map"
72 path = "examples/language_names_hash_map.rs"
73
74 [[example]]
75 name = "language_names_lite_map"
76 path = "examples/language_names_lite_map.rs"
77
78 [[example]]
79 name = "litemap_bincode"
80 path = "examples/litemap_bincode.rs"
81 required-features = ["serde"]
82
83 [[example]]
84 name = "litemap_postcard"
85 path = "examples/litemap_postcard.rs"
86 required-features = ["serde"]
87
88 [[test]]
89 name = "rkyv"
90 path = "tests/rkyv.rs"
91
92 [[test]]
93 name = "serde"
94 path = "tests/serde.rs"
95 required-features = ["serde"]
96
97 [[test]]
98 name = "store"
99 path = "tests/store.rs"
100 required-features = ["testing"]
101
102 [[bench]]
103 name = "litemap"
104 path = "benches/litemap.rs"
105 harness = false
106 required-features = ["serde"]
107
108 [dependencies.databake]
109 version = "0.2.0"
110 optional = true
111 default-features = false
112
113 [dependencies.serde_core]
114 version = "1.0.220"
115 features = ["alloc"]
116 optional = true
117 default-features = false
118
119 [dependencies.yoke]
120 version = "0.8.0"
121 features = ["derive"]
122 optional = true
123 default-features = false
124
125 [dev-dependencies.bincode]
126 version = "1.3.1"
127
128 [dev-dependencies.postcard]
129 version = "1.0.3"
130 features = ["use-std"]
131 default-features = false
132
133 [dev-dependencies.rand]
134 version = "0.9"
135
136 [dev-dependencies.rkyv]
137 version = "0.7"
138 features = ["validation"]
139
140 [dev-dependencies.serde_core]
141 version = "1.0.220"
142 default-features = false
143
144 [dev-dependencies.serde_json]
145 version = "1.0.45"
146
147 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
148 version = "0.5.0"