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.
OpenTable
[open] (ACCESS-011 R1): how far a seat with no credential reaches. The table is refused beside a credential, so it never reads as a way to loosen a gated seat.
Overrides
What liminal mcp’s flags say about the seat.
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.
Reach
How far an open seat reaches.

Functions§

is_open_name
Whether name is a declared name: 1 to 64 of a-z, 0-9, ., _ or -, the same word as the exchange’s.