-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathCargo.toml
75 lines (63 loc) · 1.93 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[workspace]
resolver = "2"
members = [".", "macros"]
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
[package.metadata.docs.rs]
all-features = true
[package]
name = "kameo"
description = "Fault-tolerant Async Actors Built on Tokio"
version = "0.14.0"
edition = "2021"
readme = "README.md"
repository = "https://github.com/tqwewe/kameo"
license = "MIT OR Apache-2.0"
categories = ["asynchronous", "concurrency", "rust-patterns"]
keywords = ["actor", "tokio"]
[features]
default = ["macros", "tracing"]
macros = ["dep:kameo_macros"]
remote = ["dep:libp2p", "dep:libp2p-identity", "dep:linkme", "dep:rmp-serde"]
tracing = ["dep:tracing", "tokio/tracing"]
[dependencies]
kameo_macros = { version = "0.14.0", path = "./macros", optional = true }
dyn-clone = "1.0"
futures = "0.3"
libp2p = { version = "0.55.0", features = ["cbor", "dns", "kad", "mdns", "macros", "quic", "request-response", "rsa", "serde", "tokio"], optional = true }
libp2p-identity = { version = "0.2.9", features = ["rand", "rsa"], optional = true }
linkme = { version= "0.3.28", optional = true }
once_cell = "1.19"
rmp-serde = { version = "1.3.0", optional = true }
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.37", features = ["macros", "rt", "sync", "time"] }
tokio-stream = "0.1"
tracing = { version = "0.1", optional = true }
[dev-dependencies]
criterion = { version = "0.5", features = ["async_tokio"] }
tokio = { version = "1", features = [
"macros",
"rt",
"rt-multi-thread",
"sync",
"time",
] }
tokio-stream = { version = "0.1.15", features = ["time"] }
tokio-test = "0.4.4"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[[example]]
name = "remote"
required-features = ["remote"]
[[example]]
name = "manual_swarm"
required-features = ["remote"]
[[bench]]
name = "fibonacci"
harness = false
[[bench]]
name = "overhead"
harness = false
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }