Description: avoid all optional features
 Some needed crates are not yet available in Debian.
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2022-11-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,20 +27,14 @@
 blake3 = "1"
 byteorder = "1.0"
 bytes = "1"
-opendal = { version= "0.24.6", optional=true }
-reqsign = {version="0.7.3", optional=true}
-chrono = { version = "0.4.23", optional = true }
 clap = { version = "4.0.32", features = ["derive", "env", "wrap_help"] }
 directories = "4.0.1"
 env_logger = "0.10"
 filetime = "0.2"
-flate2 = { version = "1.0", optional = true, default-features = false, features = ["rust_backend"] }
 futures = "0.3"
 futures-locks = "0.7"
 gzp = { version = "0.11.1", default-features = false, features = ["deflate_rust"]  }
 http = "0.2"
-hyper = { version = "0.14.10", optional = true, features = ["server"] }
-hyperx = { version = "1.0", optional = true }
 jobserver = "0.1"
 lazy_static = "1.0.0"
 libc = "0.2.139"
@@ -50,10 +44,8 @@
 number_prefix = "0.4"
 rand = "0.8.4"
 regex = "1.7.1"
-reqwest = { version = "0.11", features = ["json", "blocking", "stream"], optional = true }
 retry = "2"
 semver = "1.0"
-sha2 = { version = "0.10.6", optional = true }
 serde = "1.0"
 serde_derive = "1.0"
 serde_json = "1.0"
@@ -64,9 +56,7 @@
 tokio-serde = "0.8"
 tokio-util = { version = "0.7", features = ["codec", "io"] }
 tower = "0.4"
-time = "0.3.15"
 toml = "0.5"
-url = { version = "2", optional = true }
 uuid = { version = "1.2", features = ["v4"] }
 walkdir = "2"
 # by default which pulls in an outdated failure version
@@ -80,10 +70,8 @@
 chrono = "0.4.22"
 itertools = "0.10"
 predicates = "=2.1.5"
-thirtyfour_sync = "0.27"
 once_cell = "1.17"
 serial_test = "0.10"
-wiremock = "0.5.16"
 
 [target.'cfg(unix)'.dependencies]
 daemonize = "0.4"
@@ -100,22 +88,5 @@
     "winnls",
 ]
 
-[features]
-default = ["all"]
-all = ["dist-client", "redis", "s3", "memcached", "gcs", "azure", "gha"]
-azure = ["opendal","reqsign"]
-s3 = ["opendal","reqsign"]
-gcs = ["opendal","reqsign", "url", "reqwest/blocking"]
-gha = ["opendal"]
-memcached = ["opendal/services-memcached"]
-native-zlib = []
-redis = ["url", "opendal/services-redis"]
-# Enable features that require unstable features of Nightly Rust.
-unstable = []
-# Enables distributed support in the sccache client
-dist-client = ["flate2", "hyper", "hyperx", "reqwest", "url", "sha2"]
-# Enables dist tests with external requirements
-dist-tests = ["dist-client"]
-
 [workspace]
 exclude = ["tests/test-crate"]
