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:
Jean Chevronnet 2026-07-13 00:36:42 +00:00
parent d99eb16dab
commit 931b8727e9
No known key found for this signature in database
6 changed files with 249 additions and 211 deletions

5
Cargo.lock generated
View file

@ -284,6 +284,7 @@ dependencies = [
"anyhow",
"argon2",
"base64",
"fedserv-api",
"hmac",
"pbkdf2",
"prost",
@ -302,6 +303,10 @@ dependencies = [
"tracing-subscriber",
]
[[package]]
name = "fedserv-api"
version = "0.0.1"
[[package]]
name = "find-msvc-tools"
version = "0.1.9"