From a3e4d34400df1750365e419067fd5f50d684a0e2 Mon Sep 17 00:00:00 2001 From: Banyc <36535895+Banyc@users.noreply.github.com> Date: Sat, 30 Dec 2023 03:17:10 +0800 Subject: [PATCH] build: feature-gate vendored openssl --- Cargo.toml | 2 +- server/Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f018b58..ff5b8b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ bytes = "1" metrics = "0.22" metrics-exporter-prometheus = "0.13" mptcp = { git = "https://github.com/Banyc/mptcp.git", rev = "44b3d6366e6580e80f70607263ed6065b493b78f" } -openssl = { version = "0.10", features = ["vendored"] } +openssl = "0.10" serde = "1" tabled = "0.15" thiserror = "1" diff --git a/server/Cargo.toml b/server/Cargo.toml index 7db872f..47cd416 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -28,3 +28,7 @@ toml = "0.8" tracing = { workspace = true } tracing-subscriber = { workspace = true } openssl = { workspace = true } + +[features] +default = [] +"vendored" = ["openssl/vendored"]