-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (42 loc) · 1.45 KB
/
Copy pathCargo.toml
File metadata and controls
46 lines (42 loc) · 1.45 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
[package]
authors.workspace = true
edition.workspace = true
license = "AGPL-3.0-or-later"
name = "ahma_cluster"
readme.workspace = true
rust-version.workspace = true
version.workspace = true
description = "Network-facing local cluster scheduler for ahma: mDNS/Tailscale peer discovery and signed task dispatch over QUIC. (AGPL-3.0-or-later)"
[features]
default = []
## Enable HTTP/3 (QUIC) for cluster peer dispatch.
##
## Adds the `http3` feature to `reqwest`, which pulls in `quinn` and `h3`.
## When this feature is NOT compiled in, the `TransportMode::Quic` preference
## is silently treated as `Http2` (h2c prior-knowledge).
cluster-quic = ["reqwest/http3"]
[lib]
name = "ahma_cluster"
path = "src/lib.rs"
[dependencies]
ahma_common = { path = "../ahma_common" }
ahma_http_bridge = { path = "../ahma_http_bridge" }
anyhow.workspace = true
chrono.workspace = true
dirs.workspace = true
hmac.workspace = true
mdns-sd = "0.20.1"
rcgen = "0.14.8"
reqwest = { workspace = true, features = ["json", "rustls", "http2"] }
rustls = { version = "0.23", default-features = false, features = ["ring"] }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
sha2.workspace = true
subtle.workspace = true
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
tracing.workspace = true
uuid = { workspace = true }
[dev-dependencies]
tempfile.workspace = true
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
wiremock = "0.6"