remove dependency on odds now that Vec::retain_mut is stable

This commit is contained in:
Tangent Wantwight 2022-05-21 22:40:07 -04:00
parent 3bc46210e4
commit 8cecb2166f
4 changed files with 470 additions and 504 deletions

View File

@ -1,4 +1,5 @@
## v0.3.1-dev
- MSRV now rustc 1.61
- forget a channel's initialization segment when no transmitter is active. This improves behavior when a channel is occasionally used for streams with different codecs.
- Add INFO logging for channel creation/garbage-collection
- Start throttle timing on first data instead of throttle creation (improves cases where the source is slow to start)

971
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,6 @@ http = "^0.2"
hyper = "^0.13"
log = "^0.4.8"
matches = "^0.1"
odds = { version = "^0.4", features = ["std-vec"] }
tokio = { version="^0.2", features = ["io-std", "tcp", "macros", "rt-threaded", "time"] }
tokio-util = "^0.3"
warp = "^0.2"

View File

@ -6,7 +6,6 @@ use futures::{
channel::mpsc::{channel as mpsc_channel, Receiver, Sender},
Stream,
};
use odds::vec::VecExt;
use crate::chunk::Chunk;