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.
6 lines
323 B
Rust
6 lines
323 B
Rust
// Protocol layer. The normalized vocabulary (NetEvent / NetAction / RegReply)
|
|
// and the Protocol trait live in the fedserv-api SDK crate; re-exported here so
|
|
// the engine and the ircd modules keep referring to them as `crate::proto::*`.
|
|
pub mod inspircd;
|
|
|
|
pub use fedserv_api::{NetAction, NetEvent, Protocol, RegReply};
|