fix: add tokio time feature, make SendState/RecvState::new public
- tokio 'time' feature needed for tokio::time::interval in retransmit timer - SendState::new and RecvState::new must be pub for use from main.rs - prefix unused tx param with underscore
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2"
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "sync", "io-util"] }
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "sync", "io-util", "time"] }
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
pnet_datalink = "0.35"
|
||||
tracing = "0.1"
|
||||
|
||||
Reference in New Issue
Block a user