Skip to content

Commit

Permalink
Release v0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw committed Sep 11, 2023
1 parent b4e3420 commit 1f70523
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# 0.5.4

* Deprecated `Socket::(bind_)device_by_index`, replaced by
`Socket::(bind_)device_by_index_v4` for IPv4 sockets
(https://github.com/rust-lang/socket2/pull/432).
* Added `Socket::(bind_)device_by_index_v6`
(https://github.com/rust-lang/socket2/pull/432).
* Added experimental support for the ESP-IDF framework
(https://github.com/rust-lang/socket2/pull/452)
* Added `Socket::{send,recv}msg` and `MsgHdr(Mut)` types, wrapping `sendmsg(2)`
and `recvmsg(2)`
(https://github.com/rust-lang/socket2/pull/447).
* Added `Socket::(set_)reuse_port_lb` to retrieve or set `SO_REUSEPORT_LB` on
FreeBSD
(https://github.com/rust-lang/socket2/pull/442).
* Added `Protocol::DIVERT` on FreeBSD and OpenBSD
(https://github.com/rust-lang/socket2/pull/448).
* Add `Socket::protocol` for Windows (using `WSAPROTOCOL_INFOW`)
(https://github.com/rust-lang/socket2/pull/470).
* `From<SocketAddrV{4,6}>` for `SockAddr ` nows sets `ss_len` on platforms that
have the fields (most BSDs)
(https://github.com/rust-lang/socket2/pull/469).
* Change Windows to use `ADDRESS_FAMILY` for `sa_family_t`, this shouldn't
affect anything in practice
(https://github.com/rust-lang/socket2/pull/463).

# 0.5.3

* Added support for two new Android targets `armv7-linux-androideabi` and
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "socket2"
version = "0.5.3"
version = "0.5.4"
authors = [
"Alex Crichton <alex@alexcrichton.com>",
"Thomas de Zeeuw <thomasdezeeuw@gmail.com>"
Expand Down

0 comments on commit 1f70523

Please sign in to comment.