Skip to content

Commit

Permalink
tls: prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
newAM authored May 4, 2022
1 parent b726733 commit 69b240e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Embedded rust support for the [Wiznet W5500] SPI internet offload chip.
| [`w5500-mqtt`] | Unreleased | Unreleased |
| [`w5500-regsim`] | [![crates.io](https://img.shields.io/crates/v/w5500-regsim.svg)](https://crates.io/crates/w5500-regsim) | [![Documentation](https://docs.rs/w5500-regsim/badge.svg)](https://docs.rs/w5500-regsim) |
| [`w5500-sntp`] | [![crates.io](https://img.shields.io/crates/v/w5500-sntp.svg)](https://crates.io/crates/w5500-sntp) | [![Documentation](https://docs.rs/w5500-sntp/badge.svg)](https://docs.rs/w5500-sntp) |
| [`w5500-tls`] | Unreleased | Unreleased |
| [`w5500-tls`] | [![crates.io](https://img.shields.io/crates/v/w5500-tls.svg)](https://crates.io/crates/w5500-tls) | [![Documentation](https://docs.rs/w5500-tls/badge.svg)](https://docs.rs/w5500-tls) |

[Wiznet W5500]: https://www.wiznet.io/product-item/w5500/
[`w5500-dhcp`]: https://github.com/newAM/w5500-rs/tree/main/dhcp
Expand Down
2 changes: 1 addition & 1 deletion mqtt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ log = ["dep:log", "w5500-tls?/log"]
defmt = { version = "0.3", optional = true }
log = { version = "0.4", optional = true }
w5500-hl = { path = "../hl", version = "0.9.0" }
w5500-tls = { path = "../tls", version = "0.1", optional = true }
w5500-tls = { path = "../tls", version = "0.1.0-alpha.1", optional = true }

[dev-dependencies]
bytes = "1"
Expand Down
5 changes: 5 additions & 0 deletions tls/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,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.1.0-alpha.1] - 2022-05-04
- Initial release

[Unreleased]: https://github.com/newAM/w5500-rs/compare/tls%2Fv0.1.0-alpha.1...HEAD
[0.1.0-alpha.1]: https://github.com/newAM/w5500-rs/releases/tag/tls%2Fv0.1.0-alpha.1
2 changes: 1 addition & 1 deletion tls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "w5500-tls"
version = "0.1.0"
version = "0.1.0-alpha.1"
authors = ["Alex Martens <[email protected]>"]
edition = "2021"
repository = "https://github.com/newAM/w5500-rs"
Expand Down
8 changes: 4 additions & 4 deletions tls/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ impl<'a> CircleReader<'a> {
///
/// static mut RX: [u8; 2048] = [0; 2048];
///
/// const DST: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(1, 1, 1, 1), 443);
/// const HOSTNAME: Hostname = Hostname::new_unwrapped("one.one.one.one");
/// const DST: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(192, 168, 0, 4), 8883);
/// const HOSTNAME: Hostname = Hostname::new_unwrapped("server.local");
/// const SRC_PORT: u16 = 1234;
/// const TLS_SN: Sn = Sn::Sn4;
///
Expand Down Expand Up @@ -278,8 +278,8 @@ impl<'w, 'ks, W5500: Registers> Write<W5500::Error> for TlsWriter<'w, 'ks, W5500
///
/// static mut RX: [u8; 2048] = [0; 2048];
///
/// const DST: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(1, 1, 1, 1), 443);
/// const HOSTNAME: Hostname = Hostname::new_unwrapped("one.one.one.one");
/// const DST: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(192, 168, 0, 4), 8883);
/// const HOSTNAME: Hostname = Hostname::new_unwrapped("server.local");
/// const SRC_PORT: u16 = 1234;
/// const TLS_SN: Sn = Sn::Sn4;
///
Expand Down
8 changes: 4 additions & 4 deletions tls/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ impl<'hn, 'psk, 'b, const N: usize> Client<'hn, 'psk, 'b, N> {
///
/// static mut RX: [u8; 2048] = [0; 2048];
///
/// const DST: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(1, 1, 1, 1), 443);
/// const HOSTNAME: Hostname = Hostname::new_unwrapped("one.one.one.one");
/// const DST: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(192, 168, 0, 4), 8883);
/// const HOSTNAME: Hostname = Hostname::new_unwrapped("server.local");
/// const SRC_PORT: u16 = 1234;
/// const TLS_SN: Sn = Sn::Sn4;
///
Expand Down Expand Up @@ -1135,8 +1135,8 @@ impl<'hn, 'psk, 'b, const N: usize> Client<'hn, 'psk, 'b, N> {
///
/// static mut RX: [u8; 2048] = [0; 2048];
///
/// const DST: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(1, 1, 1, 1), 443);
/// const HOSTNAME: Hostname = Hostname::new_unwrapped("one.one.one.one");
/// const DST: SocketAddrV4 = SocketAddrV4::new(Ipv4Addr::new(192, 168, 0, 4), 8883);
/// const HOSTNAME: Hostname = Hostname::new_unwrapped("server.local");
/// const SRC_PORT: u16 = 1234;
/// const TLS_SN: Sn = Sn::Sn4;
///
Expand Down

0 comments on commit 69b240e

Please sign in to comment.