nhs-number-cli 0.4.0

Command line tool that validates United Kingdom (UK) National Health Service (NHS) Numbers, one per line, from standard input.
//! Configuration for the application.
//!
//! Our source code convention is using this file `config.rs` to
//! define `struct Config` and `impl std::default::Default`.
//!
//! We manage configuration file settings via the `confy` crate.
//! See the project file `confy.rs` for testing our `confy` loading.

use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub(crate) struct Config {
    version: u8,
}

impl std::default::Default for Config {
    fn default() -> Self {
        Self { version: 1 }
    }
}