diff --git a/domo_lib/Cargo.lock b/domo_lib/Cargo.lock index ac1b40c..8db798c 100644 --- a/domo_lib/Cargo.lock +++ b/domo_lib/Cargo.lock @@ -26,7 +26,7 @@ dependencies = [ [[package]] name = "domo_proto" -version = "1.0.0" +version = "1.0.2" dependencies = [ "crc32fast", "rand", diff --git a/domo_proto/src/packet/mod.rs b/domo_proto/src/packet/mod.rs index 835775d..5c3050c 100644 --- a/domo_proto/src/packet/mod.rs +++ b/domo_proto/src/packet/mod.rs @@ -47,14 +47,6 @@ impl Default for Packet { /// Secretly calls RawPacket::try_from().into() -impl TryFrom for Packet { - type Error = io::Error; - - fn try_from(value: RawPacket) -> Result { - value.into() - } -} - impl TryFrom> for Packet { type Error = io::Error; fn try_from(data: Vec) -> io::Result { diff --git a/domo_proto/src/packet/packet_data.rs b/domo_proto/src/packet/packet_data.rs index b676372..f93fb9b 100644 --- a/domo_proto/src/packet/packet_data.rs +++ b/domo_proto/src/packet/packet_data.rs @@ -1,5 +1,4 @@ use std::io; -use std::os::linux::raw; use crate::commands::property_control::PropertyControlCommand; use crate::commands::node_management::NodeManagementCommand; use crate::commands::raw_data_transmission::RawDataTransmission;