Skip to main content

Module presets

Module presets 

Source
Expand description

The embedded preset library: curated config fragments importable as import: preset:<name>. The embedded preset library: curated config fragments shipped with declint, imported as import: preset:<name>.

The presets are ordinary YAML config files living in this crate’s presets/ directory (so they ship inside the published package) and embedded at compile time — binaries are self-contained, and CI needs nothing beyond the executable.

Structs§

Preset
One embedded preset.

Statics§

PRESETS
Every embedded preset, in display order.

Functions§

lookup
Looks up an embedded preset by name.
names
The names of every embedded preset, comma-separated — for error messages (“unknown preset x (available: python, ini, markdown)”).