Skip to content

Commit

Permalink
New release
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jan 2, 2025
1 parent 17b6563 commit 4efdbb2
Show file tree
Hide file tree
Showing 22 changed files with 78 additions and 27 deletions.
22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-net"
version = "0.8.1"
version = "0.9.0"
authors = ["Ivan Markov <[email protected]>"]
edition = "2021"
categories = ["embedded", "hardware-support", "network-programming", "asynchronous"]
Expand Down Expand Up @@ -115,13 +115,13 @@ log = { version = "0.4", default-features = false }
heapless = { version = "0.8", default-features = false }
domain = { version = "0.10", default-features = false, features = ["heapless"] }

edge-captive = { version = "0.3.0", path = "edge-captive", default-features = false }
edge-dhcp = { version = "0.3.0", path = "edge-dhcp", default-features = false }
edge-http = { version = "0.3.0", path = "edge-http", default-features = false }
edge-mdns = { version = "0.3.1", path = "edge-mdns", default-features = false }
edge-mqtt = { version = "0.3.0", path = "edge-mqtt", default-features = false }
edge-nal = { version = "0.3.0", path = "edge-nal", default-features = false }
edge-raw = { version = "0.3.0", path = "edge-raw", default-features = false }
edge-ws = { version = "0.3.0", path = "edge-ws", default-features = false }
edge-nal-std = { version = "0.3.0", path = "edge-nal-std", default-features = false }
edge-nal-embassy = { version = "0.3.0", path = "edge-nal-embassy", default-features = false }
edge-captive = { version = "0.4.0", path = "edge-captive", default-features = false }
edge-dhcp = { version = "0.4.0", path = "edge-dhcp", default-features = false }
edge-http = { version = "0.4.0", path = "edge-http", default-features = false }
edge-mdns = { version = "0.4.0", path = "edge-mdns", default-features = false }
edge-mqtt = { version = "0.4.0", path = "edge-mqtt", default-features = false }
edge-nal = { version = "0.4.0", path = "edge-nal", default-features = false }
edge-raw = { version = "0.4.0", path = "edge-raw", default-features = false }
edge-ws = { version = "0.4.0", path = "edge-ws", default-features = false }
edge-nal-std = { version = "0.4.0", path = "edge-nal-std", default-features = false }
edge-nal-embassy = { version = "0.4.0", path = "edge-nal-embassy", default-features = false }
5 changes: 5 additions & 0 deletions edge-captive/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2024-01-02
* Reduce logging level (#32)
* Derive for DnsError
* Option to erase the generics from the IO errors

## [0.3.0] - 2024-09-10
* Migrated to the `edge-nal` traits
* Updated `domain` to 0.10
Expand Down
2 changes: 1 addition & 1 deletion edge-captive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-captive"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.77"
description = "Async + `no_std` + no-alloc implementation of a Captive Portal DNS"
Expand Down
6 changes: 6 additions & 0 deletions edge-dhcp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2024-01-02
* Reduce logging level (#32)
* Support for Captive Portal URLs (#31)
* Option to erase the generics from the IO errors
* Make embassy-time optional

## [0.3.0] - 2024-09-10
* Migrated the client and the server to the `edge-nal` traits
* Migrated the server to only require `UdpSend` and `UdpReceive`, without the need to manipulate raw IP payloads anymore
Expand Down
2 changes: 1 addition & 1 deletion edge-dhcp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-dhcp"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.77"
description = "Async + `no_std` + no-alloc implementation of the DHCP protocol"
Expand Down
11 changes: 11 additions & 0 deletions edge-http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2024-01-02
* Connection type support (#33)
* Proper TCP socket shutdown; Generic TCP timeout utils; built-in HTTP server timeouts; update docu (#34)
* Always send a SP after status code, even if no reason is given (#36)
* edge-http: make fields in {Req,Resp}Headers non-optional (#37)
* Combine Handler and TaskHandler; eradicate all explicit timeouts, now that both TcpAccept and Handler are implemented for WithTimeout
* Fix memory consumption when using a handler with a timeout
* (edge-http) Server non-static handler (#40)
* Option to erase the generics from the IO errors
* HTTP client: Close method for connections

## [0.3.0] - 2024-09-10
* Migrated the client and the server to the `edge-nal` traits
* Fixed a nasty bug where when multiple HTTP requests were carried over a single TCP connection, in certain cases the server was "eating" into the data of the next HTTP request
Expand Down
2 changes: 1 addition & 1 deletion edge-http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-http"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.77"
description = "Async + `no_std` + no-alloc implementation of the HTTP protocol"
Expand Down
8 changes: 8 additions & 0 deletions edge-mdns/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2024-01-02
* Fix for #24 / avahi - always broadcast to any of the enabled muticast addresses, regardless how we were contacted with a query
* Support for one-shot queries
* Option to erase the generics from the IO errors
* Reduce logging level for the mDNS responder (#43)
* Provide an IPv4-only default socket for mdns (#51)
* wait_readable flag; waiting for the socket is now turned off by default due to suspicions that it does not work quite right with embassy-net; Only lock the send buffer once we received a packet

## [0.3.0] - 2024-09-10
Almost a complete rewrite:
* New query API (`Mdns::query`) complementing the responder / query answers' processing one (`Mdns::run`)
Expand Down
2 changes: 1 addition & 1 deletion edge-mdns/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-mdns"
version = "0.3.1"
version = "0.4.0"
edition = "2021"
description = "Async + `no_std` + no-alloc implementation of an mDNS responder"
repository = "https://github.com/ivmarkov/edge-net"
Expand Down
3 changes: 3 additions & 0 deletions edge-mqtt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2024-01-02
* Bump the version number as all other crates were bumped to 0.4

## [0.3.0] - 2024-09-10
* Raised MSRV to 1.77
* Support for `embedded-svc` 0.28
2 changes: 1 addition & 1 deletion edge-mqtt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-mqtt"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.77"
description = "Implements the embedded-svc MQTT traits on top of the rumqttc crate"
Expand Down
6 changes: 6 additions & 0 deletions edge-nal-embassy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2024-01-02
* Proper TCP socket shutdown; Generic TCP timeout utils; built-in HTTP server timeouts; update docu (#34)
* fix a typo (#44)
* Document the N generic for Udp as done for Tcp (#47)
* Update to embassy-net 0.5 (#50)

## [0.3.0] - 2024-09-10
* First release (with version 0.3.0 to align with the other `edge-net` crates)
2 changes: 1 addition & 1 deletion edge-nal-embassy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-nal-embassy"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.77"
description = "An implementation of edge-nal based on `embassy-net`"
Expand Down
7 changes: 1 addition & 6 deletions edge-nal-embassy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,12 @@ A bare-metal implementation of `edge-nal` based on the [embassy-net](https://cra

### TCP

All traits except `Readable` which - while implemented - panics if called.
All traits.

### UDP

* All traits except `UdpConnect`.
* `MulticastV6` - while implemented - panics if `join_v6` / `leave_v6` are called.

### Raw sockets

Not implemented yet, as `embassy-net` does not expose raw sockets

## Status

**Needs testing!**
6 changes: 6 additions & 0 deletions edge-nal-std/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2024-01-02
* Proper TCP socket shutdown; Generic TCP timeout utils; built-in HTTP server timeouts; update docu (#34)
* Fix forgotten ref to async-io
* Clone for the STD stack
* For now assume the raw packet API is only usable on Linux

## [0.3.0] - 2024-09-10
* Crate name changed from `edge-std-nal-async` to just `edge-nal-std`
* Support for `embedded-nal-async` removed as the traits in that crate are too limited
Expand Down
2 changes: 1 addition & 1 deletion edge-nal-std/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-nal-std"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.77"
description = "A STD implementation of edge-nal based on `async-io`"
Expand Down
5 changes: 5 additions & 0 deletions edge-nal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2024-01-02
* Proper TCP socket shutdown with a new `TcpShutdown` trait; Generic TCP timeout utils (#34)
* WithTimeout impl for TcpAccept; with_timeout now usable for any fallible future
* Option to erase the generics from the IO errors

## [0.3.0] - 2024-09-10
* First release (with version 0.3.0 to align with the other `edge-net` crates)
2 changes: 1 addition & 1 deletion edge-nal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-nal"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.77"
description = "Hosts a bunch of traits which are not yet available in the embedded-nal-async crate"
Expand Down
3 changes: 3 additions & 0 deletions edge-raw/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2024-01-02
* Derive more for Error (Copy, Clone, Eq, PartialEq, Hash)

## [0.3.0] - 2024-09-10
* IO layer now implements the raw-networking traits from `edge-net`
2 changes: 1 addition & 1 deletion edge-raw/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-raw"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.77"
description = "Async + `no_std` + no-alloc implementation of IP and UDP packet creation and parsing"
Expand Down
3 changes: 3 additions & 0 deletions edge-ws/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2024-01-02
* Option to erase the generics from the IO errors

## [0.3.0] - 2024-09-10
* Migrated to the `edge-nal` traits
* New method, `FrameHeader::mask_with` that takes a user-supplied mask
2 changes: 1 addition & 1 deletion edge-ws/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "edge-ws"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.77"
description = "Async + `no_std` + no-alloc implementation of the Websockets protocol"
Expand Down

0 comments on commit 4efdbb2

Please sign in to comment.