From 9512781db29df6d8311f954902c09edb6dfeb4ab Mon Sep 17 00:00:00 2001 From: Avril Date: Tue, 18 Mar 2025 15:17:50 +0000 Subject: [PATCH] Remove unused req-deps for optional feature `io_uring`. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit XXX: Should we remove feature from this branch entirely? Seems like a hassle when importing cli-related stuff into stagin branch for the feature. Fortune for genmarkov's current commit: Small blessing − 小吉 --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 996eebd..d611c0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ strip = false default = ["threads"] threads = ["zstd/zstdmt", "dep:num_cpus"] -#io_uring = ["dep:tokio-uring", "dep:async-compression", "dep:futures", "dep:tokio"] +#io_uring = ["dep:tokio-uring", "dep:async-compression", "dep:futures", "dep:tokio", "dep:os_pipe"] [dependencies] async-compression = { version = "0.4.18", features = ["tokio", "zstd", "zstdmt"], optional = true } @@ -32,7 +32,7 @@ chain = {package = "markov", version = "1.1.0" } clap = { version = "4.5.29", features = ["derive"] } futures = { version = "0.3.31", default-features = false, optional = true, features = ["alloc", "async-await", "std"] } num_cpus = { version = "1.16.0", optional = true } -os_pipe = "1.2.1" +os_pipe = { version = "1.2.1", optional = true } serde = { version = "1.0.217", features = ["derive"] } serde_cbor = { version = "0.11.2", features = ["alloc"] } tokio = { version = "1.43.0", features = ["io-util"], optional = true }