Skip to content

Commit 2c1a05a

Browse files
chore: update dependencies, switch to stable Rust, and update readme
- Update Cargo.toml dependencies: `embedded-io-adapters`, `env_logger`, `serial_test`. - Switch to stable Rust 1.75. - Add MSRV section in README.md, documenting compatibility with stable Rust 1.75+.
1 parent 6dd6f29 commit 2c1a05a

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ embedded-io-async = "0.6"
2121
[dev-dependencies]
2222
tokio = { version = "1", features = ["full"] }
2323
embedded-io = "0.6"
24-
embedded-io-adapters ={ version = "0.6", features = ["tokio-1"]}
24+
embedded-io-adapters = { version = "0.6", features = ["tokio-1"] }
2525
embedded-io-async = { version = "0.6" }
26-
tokio-test = { version = "0.4.2"}
27-
env_logger = "0.9.0"
26+
tokio-test = { version = "0.4.2" }
27+
env_logger = "0.10.1"
2828
futures = { version = "0.3.21" }
29-
log = { version = "0.4.14"}
30-
serial_test = "0.6.0"
29+
log = { version = "0.4.14" }
30+
serial_test = "3.0.0"
3131

3232
[features]
3333
default = ["std"]

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ cargo test integration
3030
cargo test load
3131
```
3232

33+
## Minimum supported Rust version (MSRV)
34+
Rust-mqtt is guaranteed to compile on stable Rust 1.75 and up.
35+
It might compile with older versions but that may change in any new patch release.
36+
3337
## Acknowledgment
3438
This project could not be in state in which currently is without Ulf Lilleengen and rest of the community
3539
from [Drogue IoT](https://github.com/drogue-iot).
3640

3741
## Contact
38-
For any information contact me on email <[email protected]>
42+
For any information contact me on email <[email protected]>

rust-toolchain.toml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
[toolchain]
2-
channel = "nightly-2023-11-01"
3-
components = [ "rust-src", "rustfmt" ]
4-
targets = [ "thumbv7em-none-eabi", "thumbv7m-none-eabi", "thumbv6m-none-eabi", "thumbv7em-none-eabihf", "thumbv8m.main-none-eabihf", "wasm32-unknown-unknown" ]
2+
channel = "1.75"
3+
components = ["rust-src", "rustfmt"]
4+
targets = [
5+
"thumbv7em-none-eabi",
6+
"thumbv7m-none-eabi",
7+
"thumbv6m-none-eabi",
8+
"thumbv7em-none-eabihf",
9+
"thumbv8m.main-none-eabihf",
10+
"wasm32-unknown-unknown",
11+
]

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#![macro_use]
2626
#![cfg_attr(not(feature = "std"), no_std)]
2727
#![allow(dead_code)]
28-
#![feature(type_alias_impl_trait)]
2928
pub(crate) mod fmt;
3029

3130
pub mod client;

0 commit comments

Comments
 (0)