-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
34 lines (29 loc) · 1.11 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
[package]
name = "async-rt"
version = "0.1.5"
edition = "2021"
rust-version = "1.83"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/dariusc93/async-rt"
readme = "README.md"
categories = ["asynchronous"]
keywords = ["async", "non-blocking", "futures"]
authors = ["Darius Clark"]
exclude = [".gitignore"]
description = """
A small library designed to utilize async executors through an common API while extending features.
"""
[features]
default = ["tokio"]
threadpool = ["futures/thread-pool"]
[dependencies]
futures = { version = "0.3.31", default-features = false, features = ["std", "alloc", "async-await"] }
parking_lot = "0.12.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.42.0", optional = true, features = ["rt", "rt-multi-thread"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4.49"
[dev-dependencies]
futures-timer = "3.0.3"
tokio = { version = "1.42.0", features = ["rt", "rt-multi-thread", "macros"] }
futures = { version = "0.3.31", default-features = false, features = ["std", "alloc", "async-await", "thread-pool", "executor"] }