diff options
| author | tranzystorekk <tranzystorek.io@protonmail.com> | 2024-11-15 15:20:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-15 15:20:20 +0100 |
| commit | bfaa6c3e3f6eeb7b7b6930ba59c6220cf4d3467a (patch) | |
| tree | 5d1742c160c0f3cd95e64ddc86b4c1756f94936f | |
| parent | docs(changelog): invalid state handling (diff) | |
| download | sl0ppij-bfaa6c3e3f6eeb7b7b6930ba59c6220cf4d3467a.tar.gz sl0ppij-bfaa6c3e3f6eeb7b7b6930ba59c6220cf4d3467a.tar.xz sl0ppij-bfaa6c3e3f6eeb7b7b6930ba59c6220cf4d3467a.zip | |
chore: add vendored_curl feature (#3766)
| -rw-r--r-- | Cargo.toml | 4 | ||||
| -rw-r--r-- | zellij-utils/Cargo.toml | 7 |
2 files changed, 7 insertions, 4 deletions
@@ -80,8 +80,10 @@ pkg-fmt = "tgz" [features] # See remarks in zellij_utils/Cargo.toml -default = ["zellij-utils/plugins_from_target"] +default = ["plugins_from_target", "vendored_curl"] +plugins_from_target = ["zellij-utils/plugins_from_target"] disable_automatic_asset_installation = ["zellij-utils/disable_automatic_asset_installation"] +vendored_curl = ["zellij-utils/vendored_curl"] unstable = ["zellij-client/unstable", "zellij-utils/unstable"] singlepass = ["zellij-server/singlepass"] diff --git a/zellij-utils/Cargo.toml b/zellij-utils/Cargo.toml index 4fd7d7da..1f2c535e 100644 --- a/zellij-utils/Cargo.toml +++ b/zellij-utils/Cargo.toml @@ -56,9 +56,9 @@ async-std = { version = "1.3.0", features = ["unstable", "attributes"] } notify-debouncer-full = "0.1.0" humantime = "2.1.0" futures = "0.3.28" -openssl-sys = { version = "0.9.93", features = ["vendored"] } -isahc = "1.7.2" -curl-sys = { version = "0.4", features = ["force-system-lib-on-osx"] } +openssl-sys = { version = "0.9.93", features = ["vendored"], optional = true } +isahc = { version = "1.7.2", default-features = false, features = ["http2", "text-decoding"] } +curl-sys = { version = "0.4", features = ["force-system-lib-on-osx"], optional = true } [dev-dependencies] insta = { version = "1.6.0", features = ["backtrace"] } @@ -75,3 +75,4 @@ prost-build = "0.11.9" disable_automatic_asset_installation = [] unstable = [] plugins_from_target = [] +vendored_curl = ["isahc/static-curl", "dep:openssl-sys", "dep:curl-sys"] |
