git-next-core 0.14.1

core for git-next, the trunk-based development manager
Documentation
use derive_more::Display;

use crate::newtype;

newtype!(
    Generation,
    u32,
    Display,
    Default,
    Copy,
    r#"A counter for the server generation.

This counter is increased by one each time the server restarts itself when the configuration file is updated."#
);
impl Generation {
    pub fn inc(&mut self) {
        self.0 += 1;
    }
}