zenops 0.16.0

Declarative system configuration management for shell config and dotfiles.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use smol_str::SmolStr;

/// Identity fields that aren't git-specific — they're loaded from `[user]`
/// and also folded into [`Config::system_inputs`](super::Config::system_inputs)
/// as `user.name` / `user.email` so `ExpandStr` templates can reference them.
#[derive(serde::Deserialize, schemars::JsonSchema, Debug, Clone, PartialEq, Default)]
#[serde(default, deny_unknown_fields)]
pub(super) struct StoredUserConfig {
    pub name: Option<SmolStr>,
    pub email: Option<SmolStr>,
}