1[package]
2name = "indexmap"
3edition = "2021"
4version = "2.2.5"
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 }
22borsh = { version = "1.2", optional = true, default-features = false }
23rayon = { version = "1.5.3", optional = true }
24
25# Internal feature, only used when building as part of rustc,
26# not part of the stable interface of this crate.
27rustc-rayon = { package = "rustc-rayon", version = "0.5", optional = true }
28
29[dependencies.hashbrown]
30version = "0.14.1"
31default-features = false
32features = ["raw"]
33
34[dev-dependencies]
35itertools = "0.12"
36rand = {version = "0.8", features = ["small_rng"] }
37quickcheck = { version = "1.0", default-features = false }
38fnv = "1.0"
39lazy_static = "1.3"
40fxhash = "0.2.1"
41serde_derive = "1.0"
42
43[features]
44default = ["std"]
45std = []
46
47# for testing only, of course
48test_debug = []
49
50[profile.bench]
51debug = true
52
53[package.metadata.release]
54no-dev-version = true
55tag-name = "{{version}}"
56
57[package.metadata.docs.rs]
58features = ["arbitrary", "quickcheck", "serde", "borsh", "rayon"]
59rustdoc-args = ["--cfg", "docsrs"]
60
61[workspace]
62members = ["test-nostd", "test-serde"]
63
64[lints.clippy]
65style = "allow"
66