From 3b550f5d3dad77a56455352579fae3071b42e86d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 29 Dec 2021 02:55:24 -0500 Subject: wip another complete refactor --- Cargo.toml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index aeefa41..2ff64e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,28 +14,25 @@ include = ["src/**/*", "LICENSE", "README.md", "CHANGELOG.md"] [dependencies] libc = "0.2.112" -nix = "0.23.0" +nix = "0.23.1" async-io = { version = "1.6.0", optional = true } async-process = { version = "1.3.0", optional = true } -tokio = { version = "1.14.0", optional = true, features = ["fs", "process", "net"] } -futures = { version = "0.3.17", optional = true } +futures-io = { version = "0.3.19", optional = true } [dev-dependencies] -async-std = { version = "1.10.0", features = ["unstable"] } async-executor = "1.4.1" +async-std = { version = "1.10.0", features = ["unstable"] } regex = "1.5.4" smol = "1.2.5" term_size = "0.3.2" -tokio = { version = "1.14.0", features = [ "rt-multi-thread", "macros", "io-std", "io-util", "time" ] } +tokio = { version = "1.15.0", features = ["full"] } +tokio-util = { version = "0.6.9", features = ["compat"] } [features] -default = ["backend-std"] +default = [] -backend-std = [] -backend-async-std = ["async-io", "async-process"] -backend-smol = ["async-io", "async-process"] -backend-tokio = ["tokio", "futures"] +async = ["async-io", "async-process", "futures-io"] [patch.crates-io] async-process = { git = "https://github.com/doy/async-process", branch = "status-drop" } -- cgit v1.2.3-54-g00ecf