From b0ac3de7814087908f8a9bc977cfc48c603339ce Mon Sep 17 00:00:00 2001 From: Annika Hannig Date: Sat, 27 Aug 2022 11:59:19 +0000 Subject: [PATCH] removed more dependencies --- airportdisplay/Cargo.toml | 1 - airportdisplay/src/display.rs | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/airportdisplay/Cargo.toml b/airportdisplay/Cargo.toml index 421dc8a..cc450a4 100644 --- a/airportdisplay/Cargo.toml +++ b/airportdisplay/Cargo.toml @@ -4,5 +4,4 @@ version = "0.1.0" edition = "2021" [dependencies] -anyhow = "1" codepage-437 = "0.1.0" diff --git a/airportdisplay/src/display.rs b/airportdisplay/src/display.rs index 59792b2..de206c2 100644 --- a/airportdisplay/src/display.rs +++ b/airportdisplay/src/display.rs @@ -1,8 +1,10 @@ -use anyhow::Result; use std::net::UdpSocket; +use std::io::Result; -use super::commands::Command; -use crate::protocol::Data; +use super::{ + commands::Command, + protocol::Data, +}; pub struct Display { addr: String,