cnc_rs/config/
config.rs

1#![allow(clippy::module_inception)]
2
3use serde::Deserialize;
4
5use crate::config::postgres::Postgres;
6
7use super::email::SMTP;
8
9#[derive(Deserialize)]
10pub struct Config {
11    pub postgres: Postgres,
12    pub smtp: Option<SMTP>,
13}