Skip to content

Commit e0be911

Browse files
committed
Version 0.4.0-rc.1
1 parent 10b7f97 commit e0be911

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
## [Unreleased](https://github.com/harmless-tech/rust-socks2/tree/main)
44

5-
- (TODO) No longer depends on `byteorder`???
65
- (TODO) Move connect_timeout to a Config struct???
7-
- (TODO) Read and Write timeout???
86

97
## [0.4.0](https://github.com/harmless-tech/rust-socks2/releases/tag/v0.4.0)
108

9+
- Using lints core/alloc over std.
1110
- Empty domain names will now error before being sent for Socks5.
1211
- Remove all unwraps.
1312
- New Error type that is returned wrapped in io::Error.
@@ -17,6 +16,7 @@
1716
- Some socks functions now want a reference to the target addr.
1817
- Use rust edition 2021.
1918
- Switch from `winapi` crate to `windows-sys` crate.
19+
- Remove dependency on `byteorder` crate.
2020
- Other under the hood improvements.
2121

2222
## [Before Fork](https://github.com/sfackler/rust-socks)

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "socks2"
3-
version = "0.4.0-rc.0"
3+
version = "0.4.0-rc.1"
44
edition = "2021"
55
authors = ["Steven Fackler <sfackler@gmail.com>", "harmless-tech"]
66
readme = "README.md"
@@ -10,6 +10,15 @@ repository = "https://github.com/harmless-tech/rust-socks2"
1010
categories = ["web-programming::http-client"]
1111
keywords = ["socks", "proxy", "client"]
1212
rust-version = "1.65"
13+
include = [
14+
"src/",
15+
"Cargo.lock",
16+
"Cargo.toml",
17+
"CHANGELOG.md",
18+
"LICENSE-APACHE",
19+
"LICENSE-MIT",
20+
"README.md",
21+
]
1322

1423
[dependencies]
1524

src/ext_bytes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
use core::mem::size_of;
12
use std::io;
23

34
pub trait BytesExt: io::Read {

0 commit comments

Comments
 (0)