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