1[package]
2name = "indexmap"
3edition = "2021"
4version = "2.9.0"
5documentation = "https://docs.rs/indexmap/"
6repository = "https://github.com/indexmap-rs/indexmap"
7license = "Apache-2.0 OR MIT"
8description = "A hash table with consistent order and fast iteration."
9keywords = ["hashmap", "no_std"]
10categories = ["data-structures", "no-std"]
11rust-version = "1.63"
12
13[lib]
14bench = false
15
16[dependencies]
17equivalent = { version = "1.0", default-features = false }
18
19arbitrary = { version = "1.0", optional = true, default-features = false }
20quickcheck = { version = "1.0", optional = true, default-features = false }
21serde = { version = "1.0", optional = true, default-features = false }
22rayon = { version = "1.9", optional = true }
23
24# deprecated: use borsh's "indexmap" feature instead.
25borsh = { version = "1.2", optional = true, default-features = false }
26
27[dependencies.hashbrown]
28version = "0.15.0"
29default-features = false
30
31[dev-dependencies]
32itertools = "0.14"
33rand = {version = "0.9", features = ["small_rng"] }
34quickcheck = { version = "1.0", default-features = false }
35fnv = "1.0"
36lazy_static = "1.3"
37serde_derive = "1.0"
38
39[features]
40default = ["std"]
41std = []
42
43# for testing only, of course
44test_debug = []
45
46[profile.bench]
47debug = true
48
49[package.metadata.release]
50allow-branch = ["main"]
51sign-tag = true
52tag-name = "{{version}}"
53
54[package.metadata.docs.rs]
55features = ["arbitrary", "quickcheck", "serde", "borsh", "rayon"]
56rustdoc-args = ["--cfg", "docsrs"]
57
58[workspace]
59members = ["test-nostd", "test-serde"]
60
61[lints.clippy]
62style = "allow"
63