iconoclast 0.3.0

Reusable code for Rust-based business μServices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::logging;
use serde::Deserialize;

#[derive(Debug, Deserialize)]
pub struct Config {
    /// port for the main service
    pub port: u16,
    /// management port
    pub management_port: u16,
    /// format to log in
    pub logging: logging::Format,
}