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