From fef1ec59fe404dcf328c50edd959deced54b1fb4 Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Fri, 27 Sep 2024 00:12:57 +0800 Subject: [PATCH] chore: libc version compatbile from 0.2.141 --- crates/shadowsocks-service/Cargo.toml | 2 +- crates/shadowsocks/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index 32153ca0..96584475 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -165,7 +165,7 @@ rustls-native-certs = { version = "0.8", optional = true } async-trait = "0.1" socket2 = { version = "0.5", features = ["all"] } -libc = "0.2.159" +libc = "~0.2.141" hyper = { version = "1.4", optional = true, features = ["full"] } http-body-util = { version = "0.1", optional = true } diff --git a/crates/shadowsocks/Cargo.toml b/crates/shadowsocks/Cargo.toml index 35b3a4cc..a63c4f21 100644 --- a/crates/shadowsocks/Cargo.toml +++ b/crates/shadowsocks/Cargo.toml @@ -48,7 +48,7 @@ security-replay-attack-detect = ["bloomfilter"] [dependencies] log = "0.4" -libc = "0.2.159" +libc = "~0.2.141" bytes = "1.7" cfg-if = "1" byte_string = "1.0"