Skip to content

Commit

Permalink
Remove dependency on git versions of embassy
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Norbert Fabritius authored and inorick committed Aug 27, 2024
1 parent 82b8509 commit 9458e0a
Show file tree
Hide file tree
Showing 10 changed files with 233 additions and 204 deletions.
98 changes: 69 additions & 29 deletions examples/linux/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/linux/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ name = "linux"
path = "src/main.rs"

[dependencies]
embassy-executor = { version = "0.3.0", features = ["arch-std", "executor-thread", "integrated-timers", "log", "nightly"] }
embassy-executor = { version = "0.6.0", features = ["arch-std", "executor-thread", "integrated-timers", "log", "nightly"] }
embassy-sync = { version = "0.5.0" }
embassy-time = { version = "0.1.3", features = ["log", "std"] }
embassy-time = { version = "0.3.2", features = ["log", "std"] }
futures = "0.3.28"
heapless = "0.7.16"
hex = "0.4.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/linux/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(type_alias_impl_trait)] // Required for embassy
#![feature(impl_trait_in_assoc_type)] // Required for embassy

use embassy_executor::Spawner;
use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex;
Expand Down
Loading

0 comments on commit 9458e0a

Please sign in to comment.