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