1[package]
2name = "async-process"
3# When publishing a new version:
4# - Update CHANGELOG.md
5# - Create "v2.x.y" git tag
6version = "2.3.0"
7authors = ["Stjepan Glavina <stjepang@gmail.com>"]
8edition = "2021"
9rust-version = "1.63"
10description = "Async interface for working with processes"
11license = "Apache-2.0 OR MIT"
12repository = "https://github.com/smol-rs/async-process"
13keywords = ["process", "spawn", "command", "subprocess", "child"]
14categories = ["asynchronous", "os"]
15exclude = ["/.*"]
16
17[dependencies]
18async-lock = "3.0.0"
19async-io = "2.1.0"
20cfg-if = "1.0"
21event-listener = "5.1.0"
22futures-lite = "2.0.0"
23tracing = { version = "0.1.40", default-features = false }
24
25[target.'cfg(unix)'.dependencies]
26async-signal = "0.2.3"
27rustix = { version = "0.38", default-features = false, features = ["std", "fs"] }
28
29[target.'cfg(any(windows, target_os = "linux"))'.dependencies]
30async-channel = "2.0.0"
31async-task = "4.7.0"
32
33[target.'cfg(all(unix, not(target_os = "linux")))'.dependencies]
34rustix = { version = "0.38", default-features = false, features = ["std", "fs", "process"] }
35
36[target.'cfg(windows)'.dependencies]
37blocking = "1.0.0"
38
39[lints.rust]
40unexpected_cfgs = { level = "warn", check-cfg = ['cfg(async_process_force_signal_backend)'] }
41
42[dev-dependencies]
43async-executor = "1.5.1"
44
45[target.'cfg(windows)'.dev-dependencies.windows-sys]
46version = "0.59"
47default-features = false
48features = [
49 "Win32_Foundation",
50 "Win32_System_Threading",
51]
52
53