The manifest a rig script states inline, read as rig reads it (src/script_meta.rs of rig): the one comment block
opened by a line that is exactly # /// script (or ## /// script), anywhere in the file, and closed by # ///
with the same marker. Every line in between starts with that marker, and without it (and one space) the lines are
TOML holding [dependencies], [[repository]] and [tool]. As rig refuses to run the script otherwise, a second
block, an unclosed block, a line without the marker, broken TOML or any other table declare nothing.
The manifest a rig script states inline, read as rig reads it (
src/script_meta.rsof rig): the one comment block opened by a line that is exactly# /// script(or## /// script), anywhere in the file, and closed by# ///with the same marker. Every line in between starts with that marker, and without it (and one space) the lines are TOML holding[dependencies],[[repository]]and[tool]. As rig refuses to run the script otherwise, a second block, an unclosed block, a line without the marker, broken TOML or any other table declare nothing.