1 | [package] |
2 | name = "async-compat" |
3 | # When publishing a new version: |
4 | # - Update CHANGELOG.md |
5 | # - Create "v0.x.y" git tag |
6 | version = "0.2.4" |
7 | authors = ["Stjepan Glavina <stjepang@gmail.com>" ] |
8 | edition = "2018" |
9 | description = "Compatibility adapter between tokio and futures" |
10 | license = "Apache-2.0 OR MIT" |
11 | repository = "https://github.com/smol-rs/async-compat" |
12 | homepage = "https://github.com/smol-rs/async-compat" |
13 | documentation = "https://docs.rs/async-compat" |
14 | keywords = ["tokio" , "futures" , "convert" , "context" ] |
15 | categories = ["asynchronous" ] |
16 | |
17 | [dependencies] |
18 | futures-core = "0.3.5" |
19 | futures-io = "0.3.5" |
20 | once_cell = "1.4.1" |
21 | pin-project-lite = "0.2" |
22 | tokio = { version = "1" , default-features = false, features = ["rt" ] } |
23 | |
24 | [dev-dependencies] |
25 | blocking = "1" |
26 | futures = "0.3.5" |
27 | reqwest = "0.12" |
28 | tokio = { version = "1" , default-features = false, features = ["rt-multi-thread" , "io-std" , "io-util" , "macros" , "net" , "time" ] } |
29 | warp = "0.3" |
30 | |