-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (40 loc) · 1.25 KB
/
Cargo.toml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[workspace]
resolver = "2"
members = ["asyncs-test", "asyncs-sync"]
[workspace.package]
license = "Apache-2.0"
version = "0.3.0"
edition = "2021"
authors = ["Kezhu Wang <[email protected]>"]
homepage = "https://github.com/kezhuw/asyncs"
repository = "https://github.com/kezhuw/asyncs"
documentation = "https://docs.rs/asyncs"
[package]
name = "asyncs"
description = "async runtime agnostic facilities"
version.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
documentation.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
# For tests
test = ["spawns-compat", "spawns/executor", "asyncs-test"]
# For binary crates
tokio = ["spawns/tokio"]
smol = ["spawns/smol"]
async-global-executor = ["spawns/async-global-executor"]
# For doc inline of "spawns-core/compat"
spawns-compat = ["spawns-core/compat"]
[dependencies]
async-select = "0.2.0"
asyncs-test = { version = "0.3.0", path = "./asyncs-test", optional = true }
asyncs-sync = { version = "0.3.0", path = "./asyncs-sync" }
spawns = { version = "0.2.4", optional = true }
spawns-core = "1.1.1"
[dev-dependencies]
test-case = "3.3.1"
[package.metadata.docs.rs]
all-features = true