From 91d63441808d0cc787f41b59cbf13acf41b96d25 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Fri, 9 Jul 2021 20:34:42 -0700 Subject: [PATCH] weird dependency hack for mac+windows Adding an edge from wezterm-ssh -> async_ossl causes the openssl vendoring feature selection logic to trigger, which in turn allows `cargo build -p window --examples` to succeed again on macos. --- Cargo.lock | 1 + wezterm-ssh/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 347b9c02c..a7a0865cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5024,6 +5024,7 @@ name = "wezterm-ssh" version = "0.1.1" dependencies = [ "anyhow", + "async_ossl", "base64", "dirs-next", "filedescriptor", diff --git a/wezterm-ssh/Cargo.toml b/wezterm-ssh/Cargo.toml index ac0f9081b..23609da5b 100644 --- a/wezterm-ssh/Cargo.toml +++ b/wezterm-ssh/Cargo.toml @@ -23,6 +23,9 @@ smol = "1.2" ssh2 = {version="0.9", features=["openssl-on-win32"]} #ssh2 = {version="0.9"} +# Not used directly, but is used to centralize the openssl vendor feature selection +async_ossl = { path = "../async_ossl" } + [dev-dependencies] k9 = "0.11.0" pretty_env_logger = "0.4"