diff --git a/Cargo.toml b/Cargo.toml index a98a526d..c878f6ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,10 +19,7 @@ async-std = { version = "1.10.0", optional = true } async-trait = "0.1.52" globset = { version = "0.4.8", optional = true } -ritelinked = { version = "0.3.2", default-features = false, features = [ - "ahash", - "inline-more", -] } +hashlink = "0.9.0" ip_network = { version = "0.4.1", optional = true } once_cell = "1.9.0" mini-moka = { version = "0.10", optional = true } @@ -51,7 +48,6 @@ tokio-stream = { version = "0.1.8", optional = true, default-features = false } [features] default = ["runtime-tokio", "incremental"] -amortized = ["ritelinked/ahash-amortized", "ritelinked/inline-more-amortized"] cached = ["mini-moka"] explain = [] glob = ["globset"] diff --git a/src/adapter/memory_adapter.rs b/src/adapter/memory_adapter.rs index 4d28eb99..694c55d9 100644 --- a/src/adapter/memory_adapter.rs +++ b/src/adapter/memory_adapter.rs @@ -5,7 +5,7 @@ use crate::{ }; use async_trait::async_trait; -use ritelinked::LinkedHashSet; +use hashlink::LinkedHashSet; #[derive(Default)] pub struct MemoryAdapter { diff --git a/src/model/assertion.rs b/src/model/assertion.rs index 14108abb..1041630d 100644 --- a/src/model/assertion.rs +++ b/src/model/assertion.rs @@ -7,8 +7,8 @@ use crate::{ #[cfg(feature = "incremental")] use crate::emitter::EventData; +use hashlink::{LinkedHashMap, LinkedHashSet}; use parking_lot::RwLock; -use ritelinked::{LinkedHashMap, LinkedHashSet}; use std::sync::Arc; diff --git a/src/model/default_model.rs b/src/model/default_model.rs index c2fe867b..403fcb83 100644 --- a/src/model/default_model.rs +++ b/src/model/default_model.rs @@ -11,7 +11,7 @@ use crate::{ use crate::emitter::EventData; use parking_lot::RwLock; -use ritelinked::{LinkedHashMap, LinkedHashSet}; +use hashlink::{LinkedHashMap, LinkedHashSet}; #[cfg(all(feature = "runtime-async-std", not(target_arch = "wasm32")))] use async_std::path::Path as ioPath;