1 | [package] |
2 | name = "indexmap" |
3 | edition = "2021" |
4 | version = "2.9.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.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 | rayon = { version = "1.9" , optional = true } |
23 | |
24 | # deprecated: use borsh's "indexmap" feature instead. |
25 | borsh = { version = "1.2" , optional = true, default-features = false } |
26 | |
27 | [dependencies.hashbrown] |
28 | version = "0.15.0" |
29 | default-features = false |
30 | |
31 | [dev-dependencies] |
32 | itertools = "0.14" |
33 | rand = {version = "0.9" , features = ["small_rng" ] } |
34 | quickcheck = { version = "1.0" , default-features = false } |
35 | fnv = "1.0" |
36 | lazy_static = "1.3" |
37 | serde_derive = "1.0" |
38 | |
39 | [features] |
40 | default = ["std" ] |
41 | std = [] |
42 | |
43 | # for testing only, of course |
44 | test_debug = [] |
45 | |
46 | [profile.bench] |
47 | debug = true |
48 | |
49 | [package.metadata.release] |
50 | allow-branch = ["main" ] |
51 | sign-tag = true |
52 | tag-name = "{{version}}" |
53 | |
54 | [package.metadata.docs.rs] |
55 | features = ["arbitrary" , "quickcheck" , "serde" , "borsh" , "rayon" ] |
56 | rustdoc-args = ["--cfg" , "docsrs" ] |
57 | |
58 | [workspace] |
59 | members = ["test-nostd" , "test-serde" ] |
60 | |
61 | [lints.clippy] |
62 | style = "allow" |
63 | |