-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
42 lines (35 loc) · 1.23 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
[package]
name = "tokise"
version = "0.2.0"
authors = ["Kaede Hoshikawa <futursolo@icloud.com>", "Elina <imelina@elina.website>"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["yew", "futures", "async", "io"]
categories = ["asynchronous"]
description = "An asynchronous runtime compatible with WebAssembly and non-WebAssembly targets."
repository = "https://github.com/yewstack/tokise"
rust-version = "1.60.0"
[dependencies]
futures = { version = "0.3", default-features = false, features = [
"std",
"async-await",
] }
pin-project = "1.0.11"
pinned = "0.1.0"
once_cell = "1"
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies]
wasm-bindgen-futures = { version = "0.4" }
gloo = { version = "0.11" }
[target.'cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))'.dependencies]
tokio = { version = "1.35", features = ["rt", "time"] }
tokio-stream = { version = "0.1.14", features = ["time"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
num_cpus = "1.13"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1", features = ["full"] }
[features]
default = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "documenting"]