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

7
api/Cargo.toml Normal file
View file

@ -0,0 +1,7 @@
[package]
name = "fedserv-api"
version = "0.0.1"
edition = "2021"
description = "Stable module SDK: the traits and vocabulary a service or protocol module builds against."
[dependencies]