Closed Thintin914 closed 2 weeks ago
livekit_runtime
should use tokio if it's specified as a dependency in your Cargo.toml and livekit
has its default features set. if you're using livekit-api
directly, you need to add the signal-client-tokio
feature to it. could you send your Cargo.toml?
I only list some crates that is related:
[dependencies]
tokio = { version = "1", features = ["full"]}
livekit = "0.3.2"
livekit-api = "0.3.2"
My Cargo.toml also has tokio because I need to use it elsewhere. I don't know if that might cause error.
please update livekit and livekit-api to the newest versions published on crates.io just now, they should fix the issue
Thank you for fixing the issue. I updated the crate version and it's fine now.
[dependencies]
livekit = "0.5.1"
livekit-api = "0.4.0"
Hello, first of all, thank you for the amazing work of LiveKit Rust support. I struggled to find a good rust realtime server-client sdk for weeks. I switched from AWS Gamelift to LiveKit to try something new.
I added
livekit = "0.3.2"
to my Cargo.toml. I think it cannot get tokio in livekit_runtime.Is there a temporary fork to resolve this issue? The same issue also happened in https://github.com/livekit/rust-sdks/issues/380.