Expand description
Shared feature catalog parsing and code-generation helpers.
This crate centralizes features.toml parsing so LSP, DAP, and xtask all
consume the same metadata, validation, and rendering behavior.
Structs§
- Area
Stats - Aggregate area-level information.
- Catalog
- Full catalog loaded from
features.toml. - Catalog
Source - Source selection detail for generated outputs and traceability.
- Feature
- Per-feature catalog entry.
- Meta
- Source metadata for the catalog file.
Enums§
- Catalog
Error - Error type used by catalog operations.
- Catalog
Source Kind - Which catalog source path was selected.
- Maturity
- Feature maturity state used to drive advertising and tracking behavior.
Constants§
- DEFAULT_
DAP_ FEATURES - Default DAP feature identifiers emitted when catalog processing fails.
Functions§
- load_
catalog_ for_ build - Load and validate catalog using workspace-style resolution.
- read_
catalog - Load and validate catalog from an explicit path.
- render_
dap_ fallback_ module - Render fallback DAP catalog for offline or error cases.
- render_
dap_ feature_ catalog_ module - Render DAP runtime module source.
- render_
lsp_ fallback_ module - Minimal fallback module for build failures in
perl-lsp. - render_
lsp_ feature_ catalog_ module - Render
features.rs-compatible LSP runtime module source. - resolve_
catalog_ source - Resolve catalog path using workspace-first lookup and override support.