| 1 | [package] |
| 2 | name = "futures-lite" |
| 3 | # When publishing a new version: |
| 4 | # - Update CHANGELOG.md |
| 5 | # - Create "v2.x.y" git tag |
| 6 | version = "2.6.0" |
| 7 | authors = [ |
| 8 | "Stjepan Glavina <stjepang@gmail.com>" , |
| 9 | "Contributors to futures-rs" , |
| 10 | ] |
| 11 | edition = "2021" |
| 12 | rust-version = "1.60" |
| 13 | description = "Futures, streams, and async I/O combinators" |
| 14 | license = "Apache-2.0 OR MIT" |
| 15 | repository = "https://github.com/smol-rs/futures-lite" |
| 16 | homepage = "https://github.com/smol-rs/futures-lite" |
| 17 | documentation = "https://docs.rs/futures-lite" |
| 18 | keywords = ["asynchronous" , "futures" , "async" ] |
| 19 | categories = ["asynchronous" , "concurrency" ] |
| 20 | exclude = ["/.*" ] |
| 21 | |
| 22 | [features] |
| 23 | default = ["race" , "std" ] |
| 24 | std = ["alloc" , "fastrand/std" , "futures-io" , "parking" ] |
| 25 | alloc = [] |
| 26 | race = ["fastrand" ] |
| 27 | |
| 28 | [dependencies] |
| 29 | fastrand = { version = "2.0.0" , optional = true, default-features = false } |
| 30 | futures-core = { version = "0.3.5" , default-features = false } |
| 31 | futures-io = { version = "0.3.5" , optional = true } |
| 32 | memchr = { version = "2.3.3" , optional = true } |
| 33 | parking = { version = "2.2.0" , optional = true } |
| 34 | pin-project-lite = "0.2.0" |
| 35 | |
| 36 | [dev-dependencies] |
| 37 | spin_on = "0.1.0" |
| 38 | waker-fn = "1.0.0" # used in doctests |
| 39 | |