From 2cc68880d879a7cae8162caff77ec7a2ca4bd976 Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Fri, 28 Jan 2022 02:26:41 +0800 Subject: [PATCH] shadowsocks-crypto uses crates.io v0.3 --- Cargo.lock | 3 ++- crates/shadowsocks/Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2d523615..7ad6521b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2037,7 +2037,8 @@ dependencies = [ [[package]] name = "shadowsocks-crypto" version = "0.3.0" -source = "git+https://github.com/shadowsocks/shadowsocks-crypto.git#76074045b029325a09532c684453a5cf2818659f" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f9a6bec0435b22858734a1be996cc4d8913aa8a48ddcd8faacc781afce79b25" dependencies = [ "aes", "aes-gcm", diff --git a/crates/shadowsocks/Cargo.toml b/crates/shadowsocks/Cargo.toml index 53122a7d..0e752b0f 100644 --- a/crates/shadowsocks/Cargo.toml +++ b/crates/shadowsocks/Cargo.toml @@ -73,10 +73,10 @@ arc-swap = { version = "1.3", optional = true } notify = { version = "5.0.0-pre.13", optional = true } [target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dependencies] -shadowsocks-crypto = { version = "0.3", features = ["ring"], git = "https://github.com/shadowsocks/shadowsocks-crypto.git" } +shadowsocks-crypto = { version = "0.3", features = ["ring"] } [target.'cfg(not(any(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies] -shadowsocks-crypto = { version = "0.3", features = [], git = "https://github.com/shadowsocks/shadowsocks-crypto.git" } +shadowsocks-crypto = { version = "0.3", features = [] } [target.'cfg(windows)'.dependencies] winapi = { version = "0.3", features = ["mswsock", "winsock2", "netioapi"] }