Skip to content

Commit e780715

Browse files
committed
fix(build): enable tokio process feature for the async feature
The async feature pulled in tokio with no features enabled, so tokio::process was unavailable and any build with --features async failed to compile (run_async could not construct a tokio::process::Command). Route tokio/process through the async feature so it is enabled exactly when async is.
1 parent 9343661 commit e780715

2 files changed

Lines changed: 39 additions & 1 deletion

File tree

Cargo.lock

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ tokio = { version = "1.52.3", optional = true }
2323
tempfile = "3"
2424

2525
[features]
26-
async = ["dep:tokio"]
26+
async = ["dep:tokio", "tokio/process"]
2727

2828
[lib]
2929
name = "styrolite"

0 commit comments

Comments
 (0)