From fbb2090274b41805886135a90567adbe29ce431f Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Sun, 8 May 2022 21:46:32 +0800 Subject: [PATCH] libc extra_traits have to be enabled --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 35d300443d14..2b457cefc17b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2101,7 +2101,7 @@ dependencies = [ [[package]] name = "shadowsocks-rust" -version = "1.15.0-alpha.2" +version = "1.15.0-alpha.3" dependencies = [ "build-time", "byte_string", diff --git a/Cargo.toml b/Cargo.toml index 62582c5ecb5b..da828aee5547 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shadowsocks-rust" -version = "1.15.0-alpha.2" +version = "1.15.0-alpha.3" authors = ["Shadowsocks Contributors"] description = "shadowsocks is a fast tunnel proxy that helps you bypass firewalls." repository = "https://github.com/shadowsocks/shadowsocks-rust" @@ -158,7 +158,7 @@ build-time = "0.1" directories = "4.0" xdg = "2.4" rpassword = "6.0" -libc = "0.2" +libc = { version = "0.2", features = ["extra_traits"] } futures = "0.3" tokio = { version = "1", features = ["rt", "signal"] }