Debian Codegraph @

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

raw
1 [package]
2 name = "indexmap"
3 edition = "2021"
4 version = "2.13.0"
5 documentation = "https://docs.rs/indexmap/"
6 repository = "https://github.com/indexmap-rs/indexmap"
7 license = "Apache-2.0 OR MIT"
8 description = "A hash table with consistent order and fast iteration."
9 keywords = ["hashmap", "no_std"]
10 categories = ["data-structures", "no-std"]
11 rust-version = "1.82"
12
13 [lib]
14 bench = false
15
16 [dependencies]
17 equivalent = { version = "1.0", default-features = false }
18 hashbrown = { version = "0.16.1", default-features = false }
19
20 arbitrary = { version = "1.0", optional = true, default-features = false }
21 quickcheck = { version = "1.0", optional = true, default-features = false }
22 serde_core = { version = "1.0.220", optional = true, default-features = false }
23 rayon = { version = "1.9", optional = true }
24 sval = { version = "2", optional = true, default-features = false }
25
26 # deprecated: use borsh's "indexmap" feature instead.
27 borsh = { version = "1.2", optional = true, default-features = false }
28
29 # serde v1.0.220 is the first version that released with `serde_core`.
30 # This is required to avoid conflict with other `serde` users which may require an older version.
31 [target.'cfg(any())'.dependencies]
32 serde = { version = "1.0.220", default-features = false, optional = true }
33
34 [dev-dependencies]
35 itertools = "0.14"
36 fastrand = { version = "2", default-features = false }
37 quickcheck = { version = "1.0", default-features = false }
38 fnv = "1.0"
39 serde = { version = "1.0", default-features = false, features = ["derive"] }
40
41 [features]
42 default = ["std"]
43 std = []
44 serde = ["dep:serde_core", "dep:serde"]
45
46 # for testing only, of course
47 test_debug = []
48
49 [profile.bench]
50 debug = true
51
52 [package.metadata.release]
53 allow-branch = ["main"]
54 sign-tag = true
55 tag-name = "{{version}}"
56
57 [package.metadata.docs.rs]
58 features = ["arbitrary", "quickcheck", "serde", "borsh", "rayon", "sval"]
59 rustdoc-args = ["--cfg", "docsrs"]
60
61 [workspace]
62 members = ["test-nostd", "test-serde", "test-sval"]
63
64 [lints.rust]
65 private-bounds = "deny"
66 private-interfaces = "deny"
67 unnameable-types = "deny"
68 unreachable-pub = "deny"
69
70 # We *mostly* avoid unsafe code, but there are a few fine-grained cases allowed
71 unsafe-code = "deny"
72
73 rust-2018-idioms = "warn"
74
75 [lints.clippy]
76 style = "allow"