Feature enablement and factory wiring.
Maps feature names (strings) to concrete feature implementations.
Feature selection is user-controlled via:
- --watch-feature <name> flags, and/or
- features = ["..."] in fpm.toml [extra.fpm-watch].
Enable features requested in watch options.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(feature_manager_t), | intent(inout) | :: | fm | |||
| type(watch_opts_t), | intent(in) | :: | w |
Factory helper: add the built-in stats feature.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(feature_manager_t), | intent(inout) | :: | fm |