Replace indexmap-amortized with plain (ahash) indexmap

This commit is contained in:
Joakim Frostegård 2023-02-25 22:37:54 +01:00
parent beb8c52fe6
commit b42d55b003
7 changed files with 11 additions and 50 deletions

View file

@ -26,7 +26,6 @@ git-testament = "0.2"
hashbrown = "0.13"
hex = "0.4"
indexmap = "1"
indexmap-amortized = "1"
libc = "0.2"
log = "0.4"
privdrop = "0.5"

View file

@ -16,9 +16,6 @@ pub mod rustls_config;
/// IndexMap using AHash hasher
pub type IndexMap<K, V> = indexmap::IndexMap<K, V, RandomState>;
/// Amortized IndexMap using AHash hasher
pub type AmortizedIndexMap<K, V> = indexmap_amortized::IndexMap<K, V, RandomState>;
/// Peer, connection or similar valid until this instant
#[derive(Debug, Clone, Copy)]
pub struct ValidUntil(SecondsSinceServerStart);