Skip to content

Commit 1f70523

Browse files
committed
Release v0.5.4
1 parent b4e3420 commit 1f70523

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
# 0.5.4
2+
3+
* Deprecated `Socket::(bind_)device_by_index`, replaced by
4+
`Socket::(bind_)device_by_index_v4` for IPv4 sockets
5+
(https://github.com/rust-lang/socket2/pull/432).
6+
* Added `Socket::(bind_)device_by_index_v6`
7+
(https://github.com/rust-lang/socket2/pull/432).
8+
* Added experimental support for the ESP-IDF framework
9+
(https://github.com/rust-lang/socket2/pull/452)
10+
* Added `Socket::{send,recv}msg` and `MsgHdr(Mut)` types, wrapping `sendmsg(2)`
11+
and `recvmsg(2)`
12+
(https://github.com/rust-lang/socket2/pull/447).
13+
* Added `Socket::(set_)reuse_port_lb` to retrieve or set `SO_REUSEPORT_LB` on
14+
FreeBSD
15+
(https://github.com/rust-lang/socket2/pull/442).
16+
* Added `Protocol::DIVERT` on FreeBSD and OpenBSD
17+
(https://github.com/rust-lang/socket2/pull/448).
18+
* Add `Socket::protocol` for Windows (using `WSAPROTOCOL_INFOW`)
19+
(https://github.com/rust-lang/socket2/pull/470).
20+
* `From<SocketAddrV{4,6}>` for `SockAddr ` nows sets `ss_len` on platforms that
21+
have the fields (most BSDs)
22+
(https://github.com/rust-lang/socket2/pull/469).
23+
* Change Windows to use `ADDRESS_FAMILY` for `sa_family_t`, this shouldn't
24+
affect anything in practice
25+
(https://github.com/rust-lang/socket2/pull/463).
26+
127
# 0.5.3
228

329
* Added support for two new Android targets `armv7-linux-androideabi` and

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "socket2"
3-
version = "0.5.3"
3+
version = "0.5.4"
44
authors = [
55
"Alex Crichton <[email protected]>",
66
"Thomas de Zeeuw <[email protected]>"

0 commit comments

Comments
 (0)