提交 59cc3dec authored 作者: Nazar Mokrynskyi's avatar Nazar Mokrynskyi

Update dependencies and prepare for new Rust release

上级 5dea7211
# Changelog # Changelog
# 0.11.2
* Updates from mediasoup TypeScript `3.10.11..=3.11.2`.
# 0.11.1 # 0.11.1
* Updates from mediasoup TypeScript `3.10.7..=3.10.10`. * Updates from mediasoup TypeScript `3.10.7..=3.10.10`.
......
[package] [package]
name = "mediasoup" name = "mediasoup"
version = "0.11.1" version = "0.11.2"
description = "Cutting Edge WebRTC Video Conferencing in Rust" description = "Cutting Edge WebRTC Video Conferencing in Rust"
categories = ["api-bindings", "multimedia", "network-programming"] categories = ["api-bindings", "multimedia", "network-programming"]
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"] authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
...@@ -23,9 +23,9 @@ targets = [] ...@@ -23,9 +23,9 @@ targets = []
[dependencies] [dependencies]
async-channel = "1.7.1" async-channel = "1.7.1"
async-executor = "1.4.1" async-executor = "1.4.1"
async-lock = "2.5.0" async-lock = "2.6.0"
async-oneshot = "0.5.0" async-oneshot = "0.5.0"
async-trait = "0.1.57" async-trait = "0.1.58"
atomic-take = "1.0.0" atomic-take = "1.0.0"
event-listener-primitives = "2.0.1" event-listener-primitives = "2.0.1"
fastrand = "1.8.0" fastrand = "1.8.0"
...@@ -34,18 +34,18 @@ h264-profile-level-id = "0.1.1" ...@@ -34,18 +34,18 @@ h264-profile-level-id = "0.1.1"
hash_hasher = "2.0.3" hash_hasher = "2.0.3"
log = "0.4.17" log = "0.4.17"
nohash-hasher = "0.2.0" nohash-hasher = "0.2.0"
once_cell = "1.13.1" once_cell = "1.16.0"
serde_json = "1.0.85" serde_json = "1.0.87"
serde_repr = "0.1.9" serde_repr = "0.1.9"
thiserror = "1.0.32" thiserror = "1.0.37"
[dependencies.lru] [dependencies.lru]
default-features = false default-features = false
version = "0.7.8" version = "0.8.1"
[dependencies.mediasoup-sys] [dependencies.mediasoup-sys]
path = "../worker" path = "../worker"
version = "0.5.1" version = "0.5.3"
[dependencies.parking_lot] [dependencies.parking_lot]
version = "0.12.1" version = "0.12.1"
...@@ -58,24 +58,24 @@ version = "1.6.0" ...@@ -58,24 +58,24 @@ version = "1.6.0"
[dependencies.serde] [dependencies.serde]
features = ["derive"] features = ["derive"]
version = "1.0.144" version = "1.0.147"
[dependencies.uuid] [dependencies.uuid]
features = ["serde", "v4"] features = ["serde", "v4"]
version = "1.1.2" version = "1.2.1"
[dev-dependencies] [dev-dependencies]
actix = "0.13.0" actix = "0.13.0"
actix-web-actors = "4.1.0" actix-web-actors = "4.1.0"
async-io = "1.8.0" async-io = "1.10.0"
criterion = "0.3.6" criterion = "0.4.0"
env_logger = "0.9.0" env_logger = "0.9.1"
portpicker = "0.1.1" portpicker = "0.1.1"
[dev-dependencies.actix-web] [dev-dependencies.actix-web]
default-features = false default-features = false
features = ["macros"] features = ["macros"]
version = "4.1.0" version = "4.2.1"
[[bench]] [[bench]]
name = "direct_data" name = "direct_data"
......
...@@ -14,6 +14,7 @@ use serde_json::Value; ...@@ -14,6 +14,7 @@ use serde_json::Value;
use std::any::TypeId; use std::any::TypeId;
use std::collections::VecDeque; use std::collections::VecDeque;
use std::fmt::{Debug, Display}; use std::fmt::{Debug, Display};
use std::num::NonZeroUsize;
use std::sync::atomic::{AtomicBool, Ordering}; use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::{Arc, Weak}; use std::sync::{Arc, Weak};
...@@ -214,7 +215,9 @@ impl Channel { ...@@ -214,7 +215,9 @@ impl Channel {
let buffered_notifications_for = Arc::clone(&buffered_notifications_for); let buffered_notifications_for = Arc::clone(&buffered_notifications_for);
// This this contain cache of targets that are known to not have buffering, so // This this contain cache of targets that are known to not have buffering, so
// that we can avoid Mutex locking overhead for them // that we can avoid Mutex locking overhead for them
let mut non_buffered_notifications = LruCache::<SubscriptionTarget, ()>::new(1000); let mut non_buffered_notifications = LruCache::<SubscriptionTarget, ()>::new(
NonZeroUsize::new(1000).expect("Not zero; qed"),
);
move |message| { move |message| {
trace!("received raw message: {}", String::from_utf8_lossy(message)); trace!("received raw message: {}", String::from_utf8_lossy(message));
......
[package] [package]
name = "mediasoup-sys" name = "mediasoup-sys"
version = "0.5.2" version = "0.5.3"
description = "FFI bindings to C++ libmediasoup-worker" description = "FFI bindings to C++ libmediasoup-worker"
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"] authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
edition = "2021" edition = "2021"
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论