#![allow(clippy::module_inception)]

use icee_config_rs::{load, Options};
use lazy_static::lazy_static;
use serde::Deserialize;

lazy_static! {
    pub static ref CONFIG: Config = load::<Config>(Options::new());
}

#[derive(Deserialize)]
pub struct Config {
    pub rabbitmq: RabbitMq,
}

#[derive(Deserialize)]
pub struct RabbitMq {
    pub dns: String,
}
