From d764026103c6a5f5707aebec971d456a2d972c5c Mon Sep 17 00:00:00 2001 From: Wenxuan Zhang Date: Tue, 26 Mar 2024 23:20:04 +0800 Subject: [PATCH] chore: fix minimal-versions check Signed-off-by: Wenxuan Zhang --- Cargo.lock | 1 + Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 6cb80f2..0086ea6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1182,6 +1182,7 @@ dependencies = [ "hyper-tls", "hyper-util", "itertools", + "openssl", "rand", "ratatui", "serde", diff --git a/Cargo.toml b/Cargo.toml index 708c312..56203ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,3 +49,7 @@ hyper-util = { version = "0.1", features = [ "http1", "tokio", ] } + +# for minimal-versions +[target.'cfg(any())'.dependencies] +openssl = { version = "0.10.55", optional = true }