diff options
-rw-r--r-- | src/stats/aggregated.rs | 5 | ||||
-rw-r--r-- | src/stats/mod.rs | 7 | ||||
-rw-r--r-- | src/stats/per_client.rs | 5 |
3 files changed, 7 insertions, 10 deletions
diff --git a/src/stats/aggregated.rs b/src/stats/aggregated.rs index d79c6e3..3488513 100644 --- a/src/stats/aggregated.rs +++ b/src/stats/aggregated.rs @@ -12,10 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -use hashbrown::HashMap; -use hashbrown::hash_map::Iter; - use std::net::IpAddr; +use std::collections::HashMap; +use std::collections::hash_map::Iter; use crate::stats::ClientStatEntry; use crate::stats::ServerStats; diff --git a/src/stats/mod.rs b/src/stats/mod.rs index ad90bd2..094ad18 100644 --- a/src/stats/mod.rs +++ b/src/stats/mod.rs @@ -19,13 +19,12 @@ mod aggregated; mod per_client; +use std::net::IpAddr; +use std::collections::hash_map::Iter; + pub use crate::stats::aggregated::AggregatedStats; pub use crate::stats::per_client::PerClientStats; -use hashbrown::hash_map::Iter; - -use std::net::IpAddr; - /// /// Specific metrics tracked per each client /// diff --git a/src/stats/per_client.rs b/src/stats/per_client.rs index 4905823..09245ac 100644 --- a/src/stats/per_client.rs +++ b/src/stats/per_client.rs @@ -12,10 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -use hashbrown::HashMap; -use hashbrown::hash_map::Iter; - use std::net::IpAddr; +use std::collections::HashMap; +use std::collections::hash_map::Iter; use crate::stats::ClientStatEntry; use crate::stats::ServerStats; |