1[package] 2name = "indexmap" 3edition = "2018" 4version = "1.8.0" 5authors = [ 6"bluss", 7"Josh Stone <cuviper@gmail.com>" 8] 9documentation = "https://docs.rs/indexmap/" 10repository = "https://github.com/bluss/indexmap" 11license = "Apache-2.0/MIT" 12description = """ 13A hash table with consistent order and fast iteration. 14 15The indexmap is a hash table where the iteration order of the key-value 16pairs is independent of the hash values of the keys. It has the usual 17hash table functionality, it preserves insertion order except after 18removals, and it allows lookup of its elements by either hash table key 19or numerical index. A corresponding hash set type is also provided. 20 21This crate was initially published under the name ordermap, but it was renamed to 22indexmap. 23""" 24 25keywords = ["hashmap", "no_std"] 26categories = ["data-structures", "no-std"] 27 28build = "build.rs" 29 30[lib] 31bench = false 32 33[build-dependencies] 34autocfg = "1" 35[dependencies] 36serde = { version = "1.0", optional = true, default-features = false } 37rayon = { version = "1.4.1", optional = true } 38 39# Internal feature, only used when building as part of rustc, 40# not part of the stable interface of this crate. 41rustc-rayon = { version = "0.3", optional = true } 42 43[dependencies.hashbrown] 44version = "0.11" 45default-features = false 46features = ["raw"] 47 48[dev-dependencies] 49itertools = "0.9" 50rand = {version = "0.7", features = ["small_rng"] } 51quickcheck = { version = "0.9", default-features = false } 52fnv = "1.0" 53lazy_static = "1.3" 54fxhash = "0.2.1" 55serde_derive = "1.0" 56 57[features] 58# Serialization with serde 1.0 59serde-1 = ["serde"] 60 61# Force the use of `std`, bypassing target detection. 62std = [] 63 64# for testing only, of course 65test_low_transition_point = [] 66test_debug = [] 67 68[profile.bench] 69debug = true 70 71[package.metadata.release] 72no-dev-version = true 73tag-name = "{{version}}" 74 75[package.metadata.docs.rs] 76features = ["serde-1", "rayon"] 77 78[workspace] 79members = ["test-nostd", "test-serde"] 80