Debian Codegraph @

debian/missing-sources/litemap/Cargo.toml.orig

raw
1 # This file is part of ICU4X. For terms of use, please see the file
2 # called LICENSE at the top level of the ICU4X source tree
3 # (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
4
5 [package]
6 name = "litemap"
7 version = "0.8.1"
8 keywords = ["sorted", "vec", "map", "hashmap", "btreemap"]
9 description = "A key-value Map implementation based on a flat, sorted Vec."
10 documentation = "https://docs.rs/litemap"
11
12 authors.workspace = true
13 edition.workspace = true
14 include.workspace = true
15 license.workspace = true
16 repository.workspace = true
17 rust-version = "1.82"
18
19 [package.metadata.workspaces]
20 independent = true
21
22 [package.metadata.docs.rs]
23 all-features = true
24
25 [dependencies]
26 databake = { workspace = true, optional = true }
27 serde_core = { workspace = true, optional = true, features = ["alloc"]}
28 yoke = { workspace = true, features = ["derive"], optional = true }
29
30 [dev-dependencies]
31 rand = { workspace = true }
32 bincode = { workspace = true }
33 icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
34 icu_locale_core = { path = "../../components/locale_core" }
35 postcard = { workspace = true, features = ["use-std"] }
36 rkyv = { workspace = true, features = ["validation"] }
37 serde_core = { workspace = true }
38 serde_json = { workspace = true }
39
40 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
41 criterion = { workspace = true }
42
43 [features]
44 default = ["alloc"]
45 alloc = []
46 databake = ["dep:databake"]
47 serde = ["dep:serde_core", "alloc"]
48 yoke = ["dep:yoke"]
49
50 # Enables the `testing` module with tools for testing custom stores.
51 testing = ["alloc"]
52
53 [lib]
54 bench = false # This option is required for Benchmark CI
55
56 [[test]]
57 name = "serde"
58 required-features = ["serde"]
59
60 [[test]]
61 name = "store"
62 required-features = ["testing"]
63
64 [[example]]
65 name = "litemap_bincode"
66 path = "examples/litemap_bincode.rs"
67 required-features = ["serde"]
68
69 [[example]]
70 name = "litemap_postcard"
71 path = "examples/litemap_postcard.rs"
72 required-features = ["serde"]
73
74 [[bench]]
75 name = "litemap"
76 harness = false
77 required-features = ["serde"]