diff --git a/Cargo.toml b/Cargo.toml index 650b27a..e84312f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -85,4 +85,14 @@ exclude = ["examples"] [patch.crates-io] no-std-net = { git = "https://github.com/rushmorem/no-std-net", branch = "issue-15" } atat = { git = "https://github.com/BlackbirdHQ/atat", rev = "a466836" } -# atat = { path = "../atat/atat" } \ No newline at end of file +# atat = { path = "../atat/atat" } + +embassy-futures = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-time = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-time-driver = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-time-queue-driver = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-net = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-net-driver = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-net-driver-channel = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-net-ppp = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-sync = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } \ No newline at end of file diff --git a/src/asynch/runner.rs b/src/asynch/runner.rs index 5153b77..ae19712 100644 --- a/src/asynch/runner.rs +++ b/src/asynch/runner.rs @@ -355,10 +355,7 @@ where } #[cfg(feature = "ppp")] - pub async fn run( - &mut self, - stack: &embassy_net::Stack, - ) -> ! { + pub async fn run(&mut self, stack: embassy_net::Stack<'_>) -> ! { loop { if self.init().await.is_err() { continue;