diff --git a/Cargo.lock b/Cargo.lock index 3de8004..8e504bf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1239,6 +1239,7 @@ dependencies = [ "rutster-call-model", "str0m", "thiserror 1.0.69", + "tokio", "tracing", ] diff --git a/crates/rutster-media/Cargo.toml b/crates/rutster-media/Cargo.toml index fd096bd..950ed1e 100644 --- a/crates/rutster-media/Cargo.toml +++ b/crates/rutster-media/Cargo.toml @@ -13,5 +13,13 @@ opus = { workspace = true } str0m = { workspace = true } thiserror = { workspace = true } tracing = { workspace = true } +# tokio: required at lib-compile time because `Reflex

` owns a +# `tokio::sync::mpsc::Receiver` (the advisory channel the +# TapEngine feeds from its tokio task). rutster-media proper makes NO +# tokio runtime calls — the dedicated media thread drives `Reflex`, not a +# tokio executor (ARCHITECTURE.md "dedicated timing threads, not the +# shared tokio pool" — see slice-1 spec §3.4). The `full` features here +# also cover `#[tokio::test]` + `#[tokio::main]` in the binary/tests. +tokio = { workspace = true } [dev-dependencies]