fix: rust changed some things...
All checks were successful
ci/woodpecker/push/lib Pipeline was successful
ci/woodpecker/push/proto Pipeline was successful

This commit is contained in:
Strix 2024-02-28 15:07:19 +01:00
parent 3caff2dd58
commit e01d2130b1
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7
3 changed files with 1 additions and 10 deletions

2
domo_lib/Cargo.lock generated
View file

@ -26,7 +26,7 @@ dependencies = [
[[package]]
name = "domo_proto"
version = "1.0.0"
version = "1.0.2"
dependencies = [
"crc32fast",
"rand",

View file

@ -47,14 +47,6 @@ impl Default for Packet {
/// Secretly calls RawPacket::try_from().into()
impl TryFrom<RawPacket> for Packet {
type Error = io::Error;
fn try_from(value: RawPacket) -> Result<Self, Self::Error> {
value.into()
}
}
impl TryFrom<Vec<u8>> for Packet {
type Error = io::Error;
fn try_from(data: Vec<u8>) -> io::Result<Self> {

View file

@ -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;