Skip to main content

Crate perl_feature_catalog

Crate perl_feature_catalog 

Source
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§

AreaStats
Aggregate area-level information.
Catalog
Full catalog loaded from features.toml.
CatalogSource
Source selection detail for generated outputs and traceability.
Feature
Per-feature catalog entry.
Meta
Source metadata for the catalog file.

Enums§

CatalogError
Error type used by catalog operations.
CatalogSourceKind
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.