-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (36 loc) · 1.33 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
[package]
name = "troupe"
version = "0.2.0"
edition = "2021"
rust-version = "1.74"
authors = ["Tyler Bloom <tylerbloom2222@gmail.com>"]
license = "LGPL-2.1"
readme = "README.md"
repository = "https://github.com/TylerBloom/troupe"
description = "Library for modelling Rust applications with actors"
categories = ["asynchronous"]
keywords = ["async", "non-blocking", "futures"]
[package.metadata.docs.rs]
all-features = false
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[features]
default = ["tokio"]
[dependencies]
tokio = { version = "1.33", features = ["sync", "macros"] }
tokio-stream = { version = "0.1", features = ["sync"] }
futures = "0.3.19"
instant = { version = "0.1" }
pin-project = { version = "1.1" }
anymap2 = "0.13"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = { version = "0.4.37" }
instant = { version = "0.1", features = ["wasm-bindgen"] }
gloo-timers = { version = "0.3", features = ["futures"] }
send_wrapper = { version = "0.6", features = ["futures"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.33", features = ["sync", "rt"], optional = true }
async-std = { version = "1.12.0", optional = true }
[dev-dependencies]
tokio = { version = "1.33", features = ["rt"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"