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

@ -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);