You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
637 B
35 lines
637 B
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(dead_code)]
|
|
|
|
use std::borrow::Cow;
|
|
|
|
#[derive(Debug, Clone)]
|
|
#[allow(non_camel_case_types)]
|
|
pub struct Config {
|
|
pub hot: _Config__hot,
|
|
pub log: _Config__log,
|
|
}
|
|
|
|
#[derive(Debug, Clone)]
|
|
#[allow(non_camel_case_types)]
|
|
pub struct _Config__hot {
|
|
pub backlog: i64,
|
|
pub timeout: i64,
|
|
}
|
|
|
|
#[derive(Debug, Clone)]
|
|
#[allow(non_camel_case_types)]
|
|
pub struct _Config__log {
|
|
pub default_time_local: bool,
|
|
}
|
|
|
|
pub const CONFIG: Config = Config {
|
|
hot: _Config__hot {
|
|
backlog: 100,
|
|
timeout: 5,
|
|
},
|
|
log: _Config__log {
|
|
default_time_local: false,
|
|
},
|
|
};
|