Expand description
TOML syntax for rws --check (18.37.0): the server’s reader is
line-based and forgiving (an unclosed [[route] header was skipped, and
--check said “configuration OK”), so the check reads the file as TOML
first and reports the first mistakes with line and column.
Structural mistakes are errors: a table header that isn’t closed, a line
that is neither a header nor key = value, a string, array or inline
table that isn’t closed, an empty value. A bare word where TOML wants a
quoted string (ip = 0.0.0.0) is a warning: rws reads it anyway.
Structs§
- Finding
- One finding: 1-based line and column, and the message.
Functions§
- check
- Check
contentas TOML; at most 20 findings.