Skip to content

Commit

Permalink
deps: turn futures into an optional dependency (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenx97 authored May 31, 2024
1 parent ad612d0 commit 0c8b54b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exclude = ["/bin", "/.github"]
rust-version = "1.75.0"

[dependencies]
futures = "0.3.30"
futures = { version = "0.3.30", optional = true }
indexmap = "2.2.6"
tokio = { version = "1.37.0", features = ["io-util", "macros", "process", "rt"], optional = true }
tracing = "0.1.40"
Expand All @@ -39,7 +39,7 @@ default = ["creation-flags", "job-object", "kill-on-drop", "process-group", "pro
std = ["dep:nix"]

## Frontend: TokioCommandWrap
tokio1 = ["dep:nix", "dep:tokio"]
tokio1 = ["dep:nix", "dep:futures", "dep:tokio"]

## Wrapper: Creation Flags
creation-flags = ["dep:windows", "windows/Win32_System_Threading"]
Expand Down

0 comments on commit 0c8b54b

Please sign in to comment.