Skip to content

Commit

Permalink
Leave out only one support for embassy-time
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jan 14, 2024
1 parent 6a68206 commit 4a27d27
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 386 deletions.
6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ std = ["alloc", "log/std", "esp-idf-hal/std", "embedded-svc/std"]
alloc = ["esp-idf-hal/alloc", "embedded-svc/alloc", "uncased/alloc"]
nightly = ["embedded-svc/nightly", "esp-idf-hal/nightly"]
experimental = ["embedded-svc/experimental"]
embassy-time-driver = ["dep:embassy-time-driver"]
embassy-time-queue-driver = ["dep:embassy-time-queue-driver", "embassy-time", "embassy-sync"]

# Propagated esp-idf-hal features
embassy-sync = ["esp-idf-hal/embassy-sync", "dep:embassy-sync"]
critical-section = ["esp-idf-hal/critical-section"]
wake-from-isr = ["esp-idf-hal/wake-from-isr"]

Expand All @@ -51,10 +48,7 @@ log = { version = "0.4", default-features = false }
uncased = { version = "0.9.7", default-features = false }
embedded-svc = { version = "0.26.4", default-features = false, features = ["asyncify"] }
esp-idf-hal = { version = "0.42.5", default-features = false, features = ["esp-idf-sys"] }
embassy-sync = { version = "0.5", optional = true }
embassy-time-driver = { version = "0.1", optional = true, features = ["tick-hz-1_000_000"] }
embassy-time-queue-driver = { version = "0.1", optional = true }
embassy-time = { version = "0.3", optional = true }
embassy-futures = "0.1"

[build-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
//!
//! - `std`: Enable the use of std. Enabled by default.
//! - `experimental`: Enable the use of experimental features.
//! - `embassy-time-driver`
//! - `embassy-time-queue-queue`
//! - `embassy-time-driver`: Implement an embassy time driver.
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(async_fn_in_trait)]
//#![allow(unknown_lints)]
Expand Down
Loading

0 comments on commit 4a27d27

Please sign in to comment.