mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
Replace indexmap-amortized with plain (ahash) indexmap
This commit is contained in:
parent
beb8c52fe6
commit
b42d55b003
7 changed files with 11 additions and 50 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue