indexmap-amortized 1.6.1

A hash table with consistent order and fast iteration. The indexmap is a hash table where the iteration order of the key-value pairs is independent of the hash values of the keys. It has the usual hash table functionality, it preserves insertion order except after removals, and it allows lookup of its elements by either hash table key or numerical index. A corresponding hash set type is also provided. This crate is an ongoing fork of bluss/indexmap that provides amortized resizes.
Documentation
1
2
3
4
5
6
7
8
fn main() {
    // If "std" is explicitly requested, don't bother probing the target for it.
    match std::env::var_os("CARGO_FEATURE_STD") {
        Some(_) => autocfg::emit("has_std"),
        None => autocfg::new().emit_sysroot_crate("std"),
    }
    autocfg::rerun_path("build.rs");
}