• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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]
13edition = "2021"
14rust-version = "1.81"
15name = "litemap"
16version = "0.7.5"
17authors = ["The ICU4X Project Developers"]
18build = false
19include = [
20    "data/**/*",
21    "src/**/*",
22    "examples/**/*",
23    "benches/**/*",
24    "tests/**/*",
25    "Cargo.toml",
26    "LICENSE",
27    "README.md",
28]
29autolib = false
30autobins = false
31autoexamples = false
32autotests = false
33autobenches = false
34description = "A key-value Map implementation based on a flat, sorted Vec."
35documentation = "https://docs.rs/litemap"
36readme = "README.md"
37keywords = [
38    "sorted",
39    "vec",
40    "map",
41    "hashmap",
42    "btreemap",
43]
44license = "Unicode-3.0"
45repository = "https://github.com/unicode-org/icu4x"
46
47[package.metadata.docs.rs]
48all-features = true
49
50[package.metadata.workspaces]
51independent = true
52
53[features]
54alloc = []
55databake = ["dep:databake"]
56default = ["alloc"]
57serde = ["dep:serde"]
58testing = ["alloc"]
59yoke = ["dep:yoke"]
60
61[lib]
62name = "litemap"
63path = "src/lib.rs"
64bench = false
65
66[[example]]
67name = "language_names_hash_map"
68path = "examples/language_names_hash_map.rs"
69
70[[example]]
71name = "language_names_lite_map"
72path = "examples/language_names_lite_map.rs"
73
74[[example]]
75name = "litemap_bincode"
76path = "examples/litemap_bincode.rs"
77required-features = ["serde"]
78
79[[example]]
80name = "litemap_postcard"
81path = "examples/litemap_postcard.rs"
82required-features = ["serde"]
83
84[[test]]
85name = "rkyv"
86path = "tests/rkyv.rs"
87
88[[test]]
89name = "serde"
90path = "tests/serde.rs"
91required-features = ["serde"]
92
93[[test]]
94name = "store"
95path = "tests/store.rs"
96required-features = ["testing"]
97
98[[bench]]
99name = "litemap"
100path = "benches/litemap.rs"
101harness = false
102required-features = ["serde"]
103
104[dependencies.databake]
105version = "0.2.0"
106optional = true
107default-features = false
108
109[dependencies.serde]
110version = "1.0.110"
111features = ["alloc"]
112optional = true
113default-features = false
114
115[dependencies.yoke]
116version = "0.8.0"
117features = ["derive"]
118optional = true
119default-features = false
120
121[dev-dependencies.bincode]
122version = "1.3.1"
123
124[dev-dependencies.postcard]
125version = "1.0.3"
126features = ["use-std"]
127default-features = false
128
129[dev-dependencies.rkyv]
130version = "0.7"
131features = ["validation"]
132
133[dev-dependencies.serde]
134version = "1.0.110"
135default-features = false
136
137[dev-dependencies.serde_json]
138version = "1.0.45"
139
140[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
141version = "0.5.0"
142