1[package]
2name = "indexmap"
3edition = "2021"
4version = "1.9.3"
5documentation = "https://docs.rs/indexmap/"
6repository = "https://github.com/bluss/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.56"
12
13[lib]
14bench = false
15
16[build-dependencies]
17autocfg = "1"
18
19[dependencies]
20arbitrary = { version = "1.0", optional = true, default-features = false }
21quickcheck = { version = "1.0", optional = true, default-features = false }
22serde = { version = "1.0", optional = true, default-features = false }
23rayon = { version = "1.4.1", 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.12"
31default-features = false
32features = ["raw"]
33
34[dev-dependencies]
35itertools = "0.10"
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]
44# Serialization with serde 1.0
45serde-1 = ["serde"]
46
47# Force the use of `std`, bypassing target detection.
48std = []
49
50# for testing only, of course
51test_low_transition_point = []
52test_debug = []
53
54[profile.bench]
55debug = true
56
57[package.metadata.release]
58no-dev-version = true
59tag-name = "{{version}}"
60
61[package.metadata.docs.rs]
62features = ["arbitrary", "quickcheck", "serde-1", "rayon"]
63
64[workspace]
65members = ["test-nostd", "test-serde"]
66