Skip to main content

Module config

Module config 

Source
Expand description

The ticket’s configuration.

The ticket’s configuration (SDK-017 R1), read from the TOML file named on its command line: the server’s address, the channel, the Lys pass from a file of its own (never printed or logged), and the limits. A missing or zero field is refused by its name before any socket or stdin is touched.

Re-exports§

pub use crate::mcp::listen_config::ListenConfig;

Structs§

Config
Validated inputs for the ticket.
Limits
The ticket’s limits; every one is positive.
Token
The Lys pass, read from its file. Its Debug prints its length only.

Enums§

ConfigError
Why a configuration is refused.
Credential
Where the ticket’s pass comes from.