Skip to main content

configbuilder_pattern_loader/
feature_metadata.rs

1/// Static documentation and ownership annotations for an optional feature.
2///
3/// Returned by [`crate::OptionalSection::metadata`] and embedded in
4/// [`crate::FeatureRecord`] so the startup [`crate::FeatureSummary`] can produce
5/// self-documenting operator output.
6#[derive(Debug, Clone, Copy, Default)]
7pub struct FeatureMetadata {
8    /// Short human-readable description shown in startup summaries and operator logs.
9    pub description: &'static str,
10
11    /// Team or individual responsible for this feature (e.g. `"platform-team"`).
12    pub owner: &'static str,
13
14    /// If set, marks this feature as deprecated as of the given version string.
15    pub deprecated_since: Option<&'static str>,
16}