Skip to content

Commit

Permalink
Switch to Edition 2021, bump MSRV.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Nov 8, 2023
1 parent 9f90dba commit 743dbda
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

include:
# Test MSRV
- rust: 1.53.0
- rust: 1.56.0
TARGET: x86_64-unknown-linux-gnu

# Test nightly but don't fail
Expand Down
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

- Bump MSRV to 1.56.0 (required for Edition 2021)
- Switch to Edition 2021

## [0.7.0] - 2023-06-21

* Add blanket impls of all the traits for mutable references.
- Add blanket impls of all the traits for mutable references.
- Bump dependency version of `no-std-net` to `v0.6`.
- Bump MSRV to 1.53.0 due to `no-std-net`'s use of or-patterns.
- Added support for `core::net` with the `ip_in_core` feature.
Expand All @@ -30,18 +33,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [0.4.0] - 2021-03-05

### Changed

- Changed [`Dns`](./src/dns.rs) methods to return `nb::Result<..>` to allow non-blocking implementations.
- Bump dependency version of `heapless` to `v0.6.1` to address security issue of sub-dependency.
- Bump dependency version of `no-std-net` to `v0.5`.
- Bump MSRV to 1.46.0 to get `const-fn` for `no-std-net`.


## [0.3.0] - 2021-02-15

### Added

- New optional struct [`SharedNal`](./src/stack/share.rs) that can share a single underlying implementation among several users within a thread.

### Changed

- Changed the names of `UdpClient`/`TcpClient` to `UdpClientStack`/`TcpClientStack`
- Changed the names of `UdpServer`/`TcpServer` to `UdpFullStack`/`TcpFullStack`
- Changed the method names `Dns::gethostbyname`/`Dns::gethostbyaddr` to `Dns::get_host_by_name`/`Dns::get_host_by_address`
Expand All @@ -50,10 +55,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [0.2.0] - 2020-12-02

### Added

- Added a new `UdpServer` trait with server-specific methods
- Added a new `TcpServer` trait with server-specific methods

### Changed

- Changed the `UdpStack::receive` method to return the packet sender address, along with the packet length
- Changed the name of `UdpStack` to `UdpClient`
- Changed name of `TcpStack` to `TcpClient`
Expand All @@ -63,6 +70,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Updated `UdpStack::connect()` to modify an existing socket

### Removed

- Removed `Mode` enum, implementations should instead use `nb::WouldBlock`

## [0.1.0] - 2020-08-26
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = [
"Diego Barrios Romero <[email protected]>",
"Ryan Summers <[email protected]>",
]
edition = "2018"
edition = "2021"
description = "A Network Abstraction Layer (NAL) for Embedded Systems"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-embedded-community/embedded-nal"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ These issues / PRs will be labeled as `proposal`s in the issue tracker.

## Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile on stable Rust 1.53.0 and up. It *might*
This crate is guaranteed to compile on stable Rust 1.56.0 and up. It _might_
compile with older versions but that may change in any new patch release.

## License
Expand Down

0 comments on commit 743dbda

Please sign in to comment.