1 | [package] |
2 | name = "blocking" |
3 | # When publishing a new version: |
4 | # - Update CHANGELOG.md |
5 | # - Create "v1.x.y" git tag |
6 | version = "1.5.1" |
7 | authors = ["Stjepan Glavina <stjepang@gmail.com>" ] |
8 | edition = "2018" |
9 | rust-version = "1.61" |
10 | description = "A thread pool for isolating blocking I/O in async programs" |
11 | license = "Apache-2.0 OR MIT" |
12 | repository = "https://github.com/smol-rs/blocking" |
13 | keywords = ["async" , "file" , "stdio" , "stdin" , "process" ] |
14 | categories = ["asynchronous" , "concurrency" ] |
15 | exclude = ["/.*" ] |
16 | |
17 | [dependencies] |
18 | async-channel = "2.0.0" |
19 | async-task = "4.0.2" |
20 | fastrand = "2.0.0" |
21 | futures-io = { version = "0.3.28" , default-features = false, features = ["std" ] } |
22 | futures-lite = { version = "2.0.0" , default-features = false } |
23 | piper = "0.2.0" |
24 | tracing = { version = "0.1.37" , default-features = false } |
25 | |
26 | [target.'cfg(not(target_family = "wasm"))'.dependencies] |
27 | async-lock = "3.0.0" |
28 | |
29 | [dev-dependencies] |
30 | futures-lite = "2.0.0" |
31 | |