Skip to main content

feature

Function feature 

Source
pub fn feature() -> Arc<dyn FlmFeature> ⓘ
Expand description

Returns the AnnotationsFeature under the default configuration (no annotator, so no command), ready to be listed in a package entry.

To list the feature under an AnnotationsConfig of your own, use Arc::new(AnnotationsFeature::new(config)), or pass the configuration to the standard features with StdlibConfig::annotations.