-
Notifications
You must be signed in to change notification settings - Fork 220
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (85 loc) · 2.79 KB
/
Cargo.toml
File metadata and controls
95 lines (85 loc) · 2.79 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "commonware-runtime"
edition.workspace = true
publish = true
version.workspace = true
license.workspace = true
description = "Execute asynchronous tasks with a configurable scheduler."
readme = "README.md"
homepage.workspace = true
repository = "https://github.com/commonwarexyz/monorepo/tree/main/runtime"
documentation = "https://docs.rs/commonware-runtime"
[lints]
workspace = true
[dependencies]
arbitrary = { workspace = true, optional = true }
async-task.workspace = true
bytes.workspace = true
cfg-if.workspace = true
commonware-codec.workspace = true
commonware-conformance = { workspace = true, optional = true }
commonware-cryptography = { workspace = true, features = ["std"] }
commonware-macros = { workspace = true, features = ["std"] }
commonware-parallel = { workspace = true, features = ["std"] }
commonware-utils = { workspace = true, features = ["std"] }
crossbeam-queue.workspace = true
futures.workspace = true
governor.workspace = true
io-uring = { workspace = true, optional = true }
libc.workspace = true
opentelemetry.workspace = true
pin-project = { workspace = true, optional = true }
prometheus-client.workspace = true
rand.workspace = true
rand_core.workspace = true
rayon.workspace = true
sha2.workspace = true
sysinfo.workspace = true
thiserror.workspace = true
tracing.workspace = true
tracing-opentelemetry.workspace = true
tracing-subscriber = { workspace = true, features = ["fmt", "json", "env-filter"] }
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
# Enable "js" feature when WASM is target
version = "0.2.15"
features = ["js"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
axum.workspace = true
console-subscriber = { workspace = true, features = ["parking_lot"], optional = true }
criterion = { workspace = true, features = ["async"] }
opentelemetry-otlp = { workspace = true, features = ["http-proto"] }
opentelemetry_sdk = { workspace = true, features = ["rt-tokio"] }
tokio = { workspace = true, features = ["full"] }
[dev-dependencies]
clap = { workspace = true, features = ["derive"] }
rand = { workspace = true, features = ["small_rng"] }
serde_json.workspace = true
[features]
default = []
arbitrary = [
"commonware-codec/arbitrary",
"commonware-cryptography/arbitrary",
"commonware-utils/arbitrary",
"dep:arbitrary",
"dep:commonware-conformance",
]
external = [ "pin-project" ]
test-utils = []
iouring = [ "iouring-network", "iouring-storage" ]
iouring-network = [ "io-uring" ]
iouring-storage = [ "io-uring" ]
tokio-console = [ "dep:console-subscriber", "tokio/tracing" ]
[lib]
bench = false
[[bench]]
name = "storage"
harness = false
path = "src/storage/benches/main.rs"
[[bench]]
name = "buffer_paged"
harness = false
path = "src/utils/buffer/benches/bench.rs"
[[bench]]
name = "buffer_pool"
harness = false
path = "src/iobuf/benches/bench.rs"