modules: extract fedserv-api leaf crate (protocol + service vocabulary)
Move NetEvent/NetAction/RegReply/Protocol and Sender/ServiceCtx into a dependency-free fedserv-api crate that a module builds against. Core keeps referring to them through re-export shims at crate::proto and crate::engine::service, so no consumer changes. Groundwork for external service and protocol modules.
This commit is contained in:
parent
d99eb16dab
commit
931b8727e9
6 changed files with 249 additions and 211 deletions
|
|
@ -1,3 +1,6 @@
|
|||
[workspace]
|
||||
members = ["api"]
|
||||
|
||||
[package]
|
||||
name = "fedserv"
|
||||
version = "0.0.1"
|
||||
|
|
@ -5,6 +8,7 @@ edition = "2021"
|
|||
description = "Federated IRC services daemon (protocol-agnostic core, InspIRCd link first)"
|
||||
|
||||
[dependencies]
|
||||
fedserv-api = { path = "api" }
|
||||
tokio = { version = "1", features = ["net", "io-util", "rt-multi-thread", "macros", "time", "sync", "process"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue