提交 7b5c6341 authored 作者: Nazar Mokrynskyi's avatar Nazar Mokrynskyi

Remove dependencies that are no longer needed, minor cleanup

上级 dc2a92b9
...@@ -22,7 +22,6 @@ targets = [] ...@@ -22,7 +22,6 @@ targets = []
[dependencies] [dependencies]
async-channel = "1.6.1" async-channel = "1.6.1"
async-executor = "1.4.1" async-executor = "1.4.1"
async-fs = "1.5.0"
async-io = "1.6.0" async-io = "1.6.0"
async-lock = "2.4.0" async-lock = "2.4.0"
async-oneshot = "0.5.0" async-oneshot = "0.5.0"
...@@ -33,7 +32,6 @@ fastrand = "1.5.0" ...@@ -33,7 +32,6 @@ fastrand = "1.5.0"
futures-lite = "1.12.0" futures-lite = "1.12.0"
h264-profile-level-id = "0.1.1" h264-profile-level-id = "0.1.1"
log = "0.4.14" log = "0.4.14"
libc = "0.2.98"
once_cell = "1.8.0" once_cell = "1.8.0"
serde_json = "1.0.64" serde_json = "1.0.64"
serde_repr = "0.1.7" serde_repr = "0.1.7"
......
//! A worker represents a mediasoup C++ thread that runs on a single CPU core and handles //! A worker represents a mediasoup C++ thread that runs on a single CPU core and handles
//! [`Router`] instances. //! [`Router`] instances.
// TODO: This is Unix-specific and doesn't support Windows in any way
mod channel; mod channel;
mod common; mod common;
mod payload_channel; mod payload_channel;
......
mod channel_read_fn; mod channel_read_fn;
mod channel_write_fn; mod channel_write_fn;
// Contents of this module is inspired by https://github.com/Srinivasa314/alcro/tree/master/src/chrome
use crate::worker::channel::BufferMessagesGuard; use crate::worker::channel::BufferMessagesGuard;
use crate::worker::{Channel, PayloadChannel, WorkerId}; use crate::worker::{Channel, PayloadChannel, WorkerId};
use async_oneshot::Receiver; use async_oneshot::Receiver;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论