A [modules] block selects which services start (default: NickServ + ChanServ); main.rs constructs each compiled-in module only when named, so a node can run a subset and optional modules ship dormant. Add fedserv-example, a minimal read-only Service that depends on fedserv-api alone -- the template a new pseudo-client is copied from, enabled by adding "example" to the config. MODULES.md documents writing and registering a service or protocol module.
8 lines
219 B
TOML
8 lines
219 B
TOML
[package]
|
|
name = "fedserv-example"
|
|
version = "0.0.1"
|
|
edition = "2021"
|
|
description = "A minimal example service module: the template a new pseudo-client is copied from."
|
|
|
|
[dependencies]
|
|
fedserv-api = { path = "../api" }
|