Skip to content

Commit

Permalink
Un-pin the defmt package's version, bump esp-println and `esp-bac…
Browse files Browse the repository at this point in the history
…ktrace` dependency versions (#1264)

* Un-pin the `defmt` package's version for `esp-hal` and `esp-hal-smartled`

* Bump `esp-println` and `esp-backtrace` versions in the `examples` package

* Mention lack of MSRV guarantees when using `defmt` feature
  • Loading branch information
jessebraham committed Mar 11, 2024
1 parent 513a063 commit e4ea62a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion esp-hal-smartled/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ features = ["esp32c3"]
targets = ["riscv32imc-unknown-none-elf"]

[dependencies]
defmt = { version = "=0.3.6", optional = true }
defmt = { version = "0.3.6", optional = true }
document-features = "0.2.8"
esp-hal = { version = "0.16.0", path = "../esp-hal" }
fugit = "0.3.7"
Expand Down
7 changes: 7 additions & 0 deletions esp-hal-smartled/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ This adapter allows for the use of an RMT output channel to easily interact with

[documentation]: https://docs.rs/esp-hal-smartled/

## Usage

### `defmt` Feature

Please note that `defmt` does _not_ provide MSRV guarantees with releases, and as such we are not able to make any MSRV guarantees when this feature is enabled. For more information refer to the MSRV section of `defmt`'s README:
https://github.com/knurling-rs/defmt?tab=readme-ov-file#msrv

## License

Licensed under either of:
Expand Down
2 changes: 1 addition & 1 deletion esp-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bitflags = "2.4.2"
bitfield = "0.14.0"
cfg-if = "1.0.0"
critical-section = "1.1.2"
defmt = { version = "=0.3.6", optional = true }
defmt = { version = "0.3.6", optional = true }
document-features = "0.2.8"
embassy-executor = { version = "0.5.0", optional = true }
embassy-futures = { version = "0.1.1", optional = true }
Expand Down
5 changes: 5 additions & 0 deletions esp-hal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ Much of the functionality available is feature-gated, so be sure to refer to the
[cargo-generate]: https://github.com/cargo-generate/cargo-generate/
[esp-template]: https://github.com/esp-rs/esp-template/

### `defmt` Feature

Please note that `defmt` does _not_ provide MSRV guarantees with releases, and as such we are not able to make any MSRV guarantees when this feature is enabled. For more information refer to the MSRV section of `defmt`'s README:
https://github.com/knurling-rs/defmt?tab=readme-ov-file#msrv

### Supporting Packages

A number of additional packages are available which add additional functionality beyond the HAL.
Expand Down
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ embedded-hal-async = "1.0.0"
embedded-hal-bus = "0.1.0"
embedded-io-async = "0.6.1"
esp-alloc = "0.3.0"
esp-backtrace = { version = "0.11.0", features = ["exception-handler", "panic-handler", "println"] }
esp-backtrace = { version = "0.11.1", features = ["exception-handler", "panic-handler", "println"] }
esp-hal = { version = "0.16.0", path = "../esp-hal" }
esp-hal-smartled = { version = "0.9.0", path = "../esp-hal-smartled", optional = true }
esp-println = "0.9.0"
esp-println = "0.9.1"
heapless = "0.8.0"
hex-literal = "0.4.1"
hmac = { version = "0.12.1", default-features = false }
Expand Down

0 comments on commit e4ea62a

Please sign in to comment.