Skip to content

Commit

Permalink
remove boringssl (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
iHsin authored Apr 11, 2024
1 parent a53f14a commit 31e721b
Show file tree
Hide file tree
Showing 7 changed files with 135 additions and 321 deletions.
92 changes: 9 additions & 83 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions clash_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ foreign-types-shared = "0.3.1"
network-interface = "1.1.3"
base64 = "0.22"
uuid = { version = "1.8.0", features = ["v4", "fast-rng", "macro-diagnostics", "serde"] }
boring = "4.5.0"
boring-sys = "4.5.0"

ip_network_table-deps-treebitmap = "0.5.0"
once_cell = "1.18.0"
Expand All @@ -54,11 +52,14 @@ brotli = "4.0.0"
hmac = "0.12.1"
sha1 = "0.10"
sha2 = "0.10.8"
md-5 = "0.10.5"
md-5 = "0.10"
chacha20poly1305 = "0.10"
aead = { version = "0.5.2", features = ["std"] }
aes = "0.8.4"
aes-gcm = "0.10"
cfb-mode = "0.8.2"
const-fnv1a-hash = "1"

filetime = "0.2"
axum = { version = "0.7", features = ["ws"] }
tower-http = { version = "0.5.2", features = ["fs", "trace", "cors"] }
Expand Down Expand Up @@ -89,6 +90,7 @@ rustls = { version = "0.21", features=["dangerous_configuration", "quic"] }
rustls-pemfile = "1.0.4"
webpki-roots = "0.25"
dhcproto = "0.11"
ring-compat = { version = "0.8", features = ["aead"] }

rand = "0.8"

Expand Down
1 change: 1 addition & 0 deletions clash_lib/build.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
fn main() {
println!("cargo:rerun-if-env-changed=CLASH_RS_CI");
if std::env::var("CLASH_RS_CI").is_ok() {
println!("cargo::rustc-cfg=ci");
}
Expand Down
Loading

0 comments on commit 31e721b

Please sign in to comment.