-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
27 lines (23 loc) · 735 Bytes
/
Cargo.toml
File metadata and controls
27 lines (23 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[package]
name = "yield-now"
version = "0.1.0"
edition = "2021"
homepage = "https://github.com/uskrai/yield-now"
repository = "https://github.com/uskrai/yield-now.git"
license = "MIT"
readme = "README.md"
description = """
Wakes current task and returns Poll::Pending once
"""
[package.metadata.doc.rs]
all-features = true
[dependencies]
async-std = { version = "1", optional = true, default-features = false, features = ["std"] }
futures-lite = { version = "2", optional = true, default-features = false }
tokio = { version = "1", optional = true, default-features = false, features = ["rt"] }
[features]
tokio = ["dep:tokio"]
async-std = ["dep:async-std"]
futures-lite = ["dep:futures-lite"]
[dev-dependencies]
spin_on = "0.1.1"