echo/Cargo.toml
Jean ad2a623120
Group the module crates under modules/
The service pseudo-clients and the ircd protocol link sat flat at the
repo root, mixed in with the daemon core and the SDK. Move them all
under modules/ so the tree separates concerns cleanly: the daemon in
src/, the SDK every module links against in api/, and the loadable
modules — the pseudo-clients plus the protocol link — in modules/.

Workspace members, the daemon's per-crate dependency paths, and each
module's api path are updated to match; the docs follow. No code change.
2026-07-14 14:19:43 +00:00

69 lines
2.2 KiB
TOML

[workspace]
# api is the SDK every module links against; the loadable modules — the service
# pseudo-clients and the ircd protocol link — live under modules/.
members = [
"api",
"modules/inspircd",
"modules/chanserv",
"modules/nickserv",
"modules/example",
"modules/botserv",
"modules/memoserv",
"modules/statserv",
"modules/hostserv",
"modules/operserv",
"modules/diceserv",
"modules/infoserv",
"modules/reportserv",
"modules/groupserv",
"modules/chanfix",
"modules/helpserv",
]
[package]
name = "fedserv"
version = "0.0.1"
edition = "2021"
description = "Federated IRC services daemon (protocol-agnostic core, InspIRCd link first)"
[dependencies]
fedserv-api = { path = "api" }
fedserv-inspircd = { path = "modules/inspircd" }
fedserv-chanserv = { path = "modules/chanserv" }
fedserv-nickserv = { path = "modules/nickserv" }
fedserv-example = { path = "modules/example" }
fedserv-botserv = { path = "modules/botserv" }
fedserv-memoserv = { path = "modules/memoserv" }
fedserv-statserv = { path = "modules/statserv" }
fedserv-hostserv = { path = "modules/hostserv" }
fedserv-operserv = { path = "modules/operserv" }
fedserv-diceserv = { path = "modules/diceserv" }
fedserv-infoserv = { path = "modules/infoserv" }
fedserv-reportserv = { path = "modules/reportserv" }
fedserv-groupserv = { path = "modules/groupserv" }
fedserv-chanfix = { path = "modules/chanfix" }
fedserv-helpserv = { path = "modules/helpserv" }
tokio = { version = "1", features = ["net", "io-util", "rt-multi-thread", "macros", "time", "sync", "process"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
argon2 = { version = "0.5", features = ["std"] }
base64 = "0.22"
sha2 = "0.10"
hmac = "0.12"
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
subtle = "2"
regex = "1"
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tokio-rustls = "0.26.4"
rustls-pemfile = "2.2.0"
tonic = { version = "0.12", features = ["tls"] }
axum = "0.7"
axum-server = { version = "0.7", features = ["tls-rustls"] }
prost = "0.13"
tokio-stream = "0.1"
[build-dependencies]
tonic-build = "0.12"