You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
maturin/SOURCES/0001-drop-unavailable-featu...

89 lines
3.2 KiB

From 3966bd912de0f4f76ce137bcd053e11a8d02997a Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Tue, 12 Dec 2023 12:34:39 +0100
Subject: [PATCH 1/3] drop unavailable features and unused dev-dependencies
---
Cargo.toml | 42 ++----------------------------------------
1 file changed, 2 insertions(+), 40 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index e309680..316a552 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -80,10 +80,6 @@ time = "0.3.17"
clap = { version = "4.0.0", features = ["derive", "env", "wrap_help", "unstable-styles"] }
clap_complete_command = { version = "0.5.1", optional = true }
-# cross compile
-cargo-zigbuild = { version = "0.18.0", default-features = false, optional = true }
-cargo-xwin = { version = "0.16.2", default-features = false, optional = true }
-
# log
tracing = "0.1.36"
tracing-subscriber = { version = "0.3.15", features = ["env-filter"], optional = true }
@@ -93,58 +89,24 @@ dialoguer = { version = "0.11.0", default-features = false, optional = true }
console = { version = "0.15.4", optional = true }
minijinja = { version = "1.0.7", optional = true }
-# upload
-bytesize = { version = "1.0.1", optional = true }
-configparser = { version = "3.0.3", optional = true }
-dirs = { version = "5.0.0", optional = true }
-multipart = { version = "0.18.0", features = ["client"], default-features = false, optional = true }
-ureq = { version = "2.9.1", features = ["gzip", "json", "socks-proxy"], default-features = false, optional = true }
-native-tls = { version = "0.2.8", optional = true }
-rustls = { version = "0.21.9", optional = true }
-rustls-pemfile = { version = "2.0.0", optional = true }
-keyring = { version = "2.0.0", default-features = false, features = ["linux-no-secret-service"], optional = true }
-wild = { version = "2.1.0", optional = true }
-url = { version = "2.5.0", optional = true }
-
[dev-dependencies]
expect-test = "1.4.1"
indoc = "2.0.3"
pretty_assertions = "1.3.0"
-rustversion = "1.0.9"
time = { version = "0.3.17", features = ["macros"] }
-trycmd = "0.14.11"
-which = "5.0.0"
[features]
-default = ["full", "rustls"]
+default = ["full"]
-full = ["cli-completion", "cross-compile", "log", "scaffolding", "upload"]
+full = ["cli-completion", "log", "scaffolding"]
log = ["tracing-subscriber"]
cli-completion = ["dep:clap_complete_command"]
-upload = ["ureq", "multipart", "configparser", "bytesize", "dialoguer/password", "url", "wild", "dep:dirs"]
-# keyring doesn't support *BSD so it's not enabled in `full` by default
-password-storage = ["upload", "keyring"]
-
-rustls = ["dep:rustls", "ureq?/tls", "cargo-xwin?/rustls-tls", "dep:rustls-pemfile"]
-native-tls = ["dep:native-tls", "ureq?/native-tls", "cargo-xwin?/native-tls", "dep:rustls-pemfile"]
-
-# cross compile using zig or xwin
-cross-compile = ["zig", "xwin"]
-zig = ["cargo-zigbuild"]
-xwin = ["cargo-xwin"]
-
# project scaffolding
scaffolding = ["dialoguer", "console", "minijinja"]
-# Internal feature to speed up the tests significantly
-faster-tests = []
-
-# Deprecated features, keep it now for compatibility
-human-panic = []
-
# Without this, compressing the .gz archive becomes notably slow for debug builds
[profile.dev.package.miniz_oxide]
opt-level = 3
--
2.43.0