Debian Codegraph @

third_party/rust/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.67"
15 name = "litemap"
16 version = "0.7.3"
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 = "A key-value Map implementation based on a flat, sorted Vec."
29 documentation = "https://docs.rs/litemap"
30 readme = "README.md"
31 keywords = [
32 "sorted",
33 "vec",
34 "map",
35 "hashmap",
36 "btreemap",
37 ]
38 license = "Unicode-3.0"
39 repository = "https://github.com/unicode-org/icu4x"
40
41 [package.metadata.cargo-all-features]
42 denylist = ["bench"]
43
44 [package.metadata.docs.rs]
45 all-features = true
46
47 [package.metadata.workspaces]
48 independent = true
49
50 [lib]
51 bench = false
52
53 [[example]]
54 name = "litemap_bincode"
55 path = "examples/litemap_bincode.rs"
56 required-features = ["serde"]
57
58 [[example]]
59 name = "litemap_postcard"
60 path = "examples/litemap_postcard.rs"
61 required-features = ["serde"]
62
63 [[test]]
64 name = "serde"
65 required-features = ["serde"]
66
67 [[test]]
68 name = "store"
69 required-features = ["testing"]
70
71 [[bench]]
72 name = "litemap"
73 harness = false
74 required-features = ["serde"]
75
76 [dependencies.databake]
77 version = "0.1.8"
78 optional = true
79 default-features = false
80
81 [dependencies.serde]
82 version = "1.0.110"
83 features = ["alloc"]
84 optional = true
85 default-features = false
86
87 [dependencies.yoke]
88 version = "0.7.4"
89 features = ["derive"]
90 optional = true
91 default-features = false
92
93 [dev-dependencies.bincode]
94 version = "1.3.1"
95
96 [dev-dependencies.postcard]
97 version = "1.0.1"
98 features = ["use-std"]
99 default-features = false
100
101 [dev-dependencies.rkyv]
102 version = "0.7"
103 features = ["validation"]
104
105 [dev-dependencies.serde]
106 version = "1.0.110"
107 default-features = false
108
109 [dev-dependencies.serde_json]
110 version = "1.0.45"
111
112 [features]
113 alloc = []
114 bench = ["serde"]
115 databake = ["dep:databake"]
116 default = ["alloc"]
117 serde = ["dep:serde"]
118 testing = ["alloc"]
119 yoke = ["dep:yoke"]
120
121 [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion]
122 version = "0.5.0"