Expand description
LSP feature policy and capability profile helpers.
This microcrate centralizes capability set selection, turning high-level profile
decisions (e.g. ga-lock, production, all) into runtime BuildFlags and
catalog-oriented feature IDs. It bridges FeatureProfileKind to the
AdvertisedFeatures projection consumed by server startup and the
initialize response.
Enums§
- Feature
Profile - Known feature profiles for runtime capability selection.
Functions§
- catalog_
advertised_ feature_ ids - Return advertised feature IDs from the current profile, intersecting with the catalog so this API remains aligned to the BDD grid.
- feature_
ids_ from_ flags - Convert
BuildFlagsinto canonical LSP feature identifiers. - flags_
for_ profile - Resolve
BuildFlagsfor the profile. - flags_
for_ runtime - Resolve
BuildFlagsfor runtime startup where formatting is conditional on external tooling availability. - from_
str_ name - Parse a user-facing feature profile name into a
FeatureProfile.