From e61966e8fb9b0b55df8ea345e86d421d706167d3 Mon Sep 17 00:00:00 2001
From: Federico Lolli <federico.lolli@skywarder.eu>
Date: Mon, 7 Oct 2024 15:54:32 +0200
Subject: [PATCH] Removed unused dependency

removed hashbrown and moved to standard library HashMap
---
 Cargo.toml    | 1 -
 src/serial.rs | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 56f1f65..829c41f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,6 @@ crate-type = ["cdylib"]
 
 [dependencies]
 crossbeam-channel = "0.5.12"
-hashbrown = "0.14.3"
 lazy_static = "1.4.0"
 parking_lot = "0.12.1"
 serialport = "4.3.0"
diff --git a/src/serial.rs b/src/serial.rs
index ed8dd01..c017879 100644
--- a/src/serial.rs
+++ b/src/serial.rs
@@ -1,4 +1,5 @@
 use std::{
+    collections::HashMap,
     io::Read,
     ops::Deref,
     sync::Arc,
@@ -7,7 +8,6 @@ use std::{
 };
 
 use crossbeam_channel::{unbounded, Receiver, RecvTimeoutError, Sender};
-use hashbrown::HashMap;
 use parking_lot::{Mutex, RwLock};
 use serialport::SerialPort;
 
-- 
GitLab