aboutsummaryrefslogtreecommitdiff
path: root/src/client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.rs')
-rw-r--r--src/client.rs13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/client.rs b/src/client.rs
index e506a3e..e486488 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -1,14 +1,5 @@
-use crate::{PeerID, UdpReceiver, UdpSender};
-use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
-use num_enum::{TryFromPrimitive, TryFromPrimitiveError};
-use std::{
- cell::Cell,
- fmt,
- io::{self, Write},
- net, ops,
- sync::{mpsc, Arc},
- thread,
-};
+use crate::*;
+use std::{io, net, sync::Arc};
pub struct Sender {
sock: Arc<net::UdpSocket>,