Expand description
Shared feature contracts for profile parsing, BDD-grid rows, and capability mapping.
This crate defines the canonical FeatureProfileKind enum and associated
FeatureProfileSpec metadata used for feature-coverage reporting. It sits
between perl-lsp-feature-ids (raw identifiers) and
perl-lsp-feature-policy (runtime capability selection).
Re-exports§
pub use catalog::Feature;pub use catalog::LSP_VERSION;pub use catalog::VERSION;pub use catalog::advertised_features;pub use catalog::compliance_percent;pub use catalog::has_feature;
Modules§
- catalog
- Auto-generated feature catalog from
features.toml.
Structs§
- BddFeature
Row - Human-readable BDD-oriented feature row for automation and reporting.
- Feature
Profile Spec - Canonical metadata for profile aliases and normalization behavior.
Enums§
- Feature
Profile Kind - Canonical profile definitions and alias map.
Constants§
- FEATURE_
PROFILE_ SPECS - A serializable profile metadata row for tooling and interoperability.
Functions§
- advertised_
trackable_ feature_ count_ for_ grid - Number of advertised BDD rows that participate in coverage accounting.
- all_
features - All discovered LSP features in canonical declaration order.
- bdd_
feature_ rows - Export feature rows suitable for BDD matrices and acceptance criteria tooling.
- caps_
from_ feature_ ids - Build LSP
ServerCapabilitiesfrom feature IDs. - compliance_
percent_ for_ grid - Compliance percentage for the BDD grid (
advertised / trackable, rounded). - feature_
ids_ from_ caps - Extract feature IDs from LSP
ServerCapabilities. - feature_
profile_ specs - Return canonical feature profile descriptors for tooling.
- trackable_
feature_ count_ for_ grid - Number of BDD rows that participate in coverage accounting.