Expand description
CLI profile-token parsing for Perl LSP feature governance.
This microcrate owns one responsibility: parse user-facing profile tokens and expose diagnostics helpers for invalid values.
Structs§
- Unsupported
Feature Profile Error - Structured parse error for invalid profile tokens.
Enums§
- Feature
Profile - Known feature profiles for runtime capability selection.
Functions§
- feature_
profile_ label - Canonical profile label for logs and diagnostics.
- feature_
profile_ supported_ tokens - Supported CLI tokens accepted by the profile parser.
- parse_
feature_ profile_ arg - Parse a
--feature-profileargument into a runtime policy. - parse_
feature_ profile_ arg_ or_ current - Parse a profile argument and fall back to
FeatureProfile::current().