Skip to content

Commit 9458e0a

Browse files
Norbert Fabritiusinorick
Norbert Fabritius
authored andcommitted
Remove dependency on git versions of embassy
The move from unstable dependencies pulled directly from Github to the crates.io version required several changes: - Update of other dependencies to match the expectations of the crates .io versions. - Use `impl_trait_in_assoc_type` instead of `type_alias_impl_trait` feature. See rust-lang/rust#63063 - Remove unstable features of dependencies.
1 parent 82b8509 commit 9458e0a

File tree

10 files changed

+233
-204
lines changed

10 files changed

+233
-204
lines changed

examples/linux/Cargo.lock

Lines changed: 69 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/linux/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ name = "linux"
1010
path = "src/main.rs"
1111

1212
[dependencies]
13-
embassy-executor = { version = "0.3.0", features = ["arch-std", "executor-thread", "integrated-timers", "log", "nightly"] }
13+
embassy-executor = { version = "0.6.0", features = ["arch-std", "executor-thread", "integrated-timers", "log", "nightly"] }
1414
embassy-sync = { version = "0.5.0" }
15-
embassy-time = { version = "0.1.3", features = ["log", "std"] }
15+
embassy-time = { version = "0.3.2", features = ["log", "std"] }
1616
futures = "0.3.28"
1717
heapless = "0.7.16"
1818
hex = "0.4.3"

examples/linux/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(type_alias_impl_trait)] // Required for embassy
1+
#![feature(impl_trait_in_assoc_type)] // Required for embassy
22

33
use embassy_executor::Spawner;
44
use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex;

0 commit comments

Comments
 (0)