diff options
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -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" } |