Skip to content

Commit

Permalink
Update embassy-time to V0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jan 15, 2025
1 parent 1af385b commit bd3fef9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ $ cargo build
### Building and running the example (Linux, MacOS X)

```
$ cargo run --example onoff_light --features async-io
$ cargo run --example onoff_light --features examples
```

### Building and running the BLE example (Linux, MacOS X)

```
$ cargo run --example onoff_light_bt --features examples
```

## Test
Expand Down
12 changes: 7 additions & 5 deletions rs-matter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ readme = "README.md"
keywords = ["matter", "smart", "smart-home", "IoT", "ESP32"]
categories = ["embedded", "network-programming"]
license = "Apache-2.0"
rust-version = "1.78"
rust-version = "1.83"

[features]
default = ["os", "rustcrypto"]
#default = ["os", "mbedtls"] mbedtls is broken since several months - check the root cause
os = ["std", "backtrace", "critical-section/std", "embassy-sync/std", "embassy-time/std", "embassy-time/generic-queue"]
examples = ["std", "async-io", "async-compat", "embassy-time-queue-utils/generic-queue-64"]
os = ["std", "backtrace", "critical-section/std", "embassy-sync/std", "embassy-time/std"]
std = ["alloc", "rand"]
backtrace = []
alloc = []
Expand All @@ -40,6 +41,7 @@ time = { version = "0.3", default-features = false }
verhoeff = { version = "1", default-features = false }
embassy-futures = "0.1"
embassy-time = "0.4"
embassy-time-queue-utils = "0.1"
embassy-sync = "0.6"
critical-section = "1.1"
domain = { version = "0.10", default-features = false, features = ["heapless"] }
Expand Down Expand Up @@ -91,14 +93,14 @@ similar = "2.6"
[[example]]
name = "onoff_light"
path = "../examples/onoff_light/src/main.rs"
required-features = ["std", "async-io"]
required-features = ["examples"]

[[example]]
name = "onoff_light_bt"
path = "../examples/onoff_light_bt/src/main.rs"
required-features = ["std", "async-io", "async-compat"]
required-features = ["examples"]

# [[example]]
# name = "speaker"
# path = "../examples/speaker/src/main.rs"
# required-features = ["std", "async-io"]
# required-features = ["examples"]

0 comments on commit bd3fef9

Please sign in to comment.