mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
Add .idea to .gitignore to ignore IDE-specific files
This commit is contained in:
parent
0b97f70bde
commit
33c819bd3a
2 changed files with 2 additions and 11 deletions
|
|
@ -156,6 +156,7 @@ impl Default for PerformanceConfig {
|
|||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
#[serde(default)]
|
||||
#[derive(Default)]
|
||||
pub struct Config {
|
||||
pub scanner: ScannerConfig,
|
||||
pub database: DatabaseConfig,
|
||||
|
|
@ -163,16 +164,6 @@ pub struct Config {
|
|||
pub performance: PerformanceConfig,
|
||||
}
|
||||
|
||||
impl Default for Config {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
scanner: ScannerConfig::default(),
|
||||
database: DatabaseConfig::default(),
|
||||
output: OutputConfig::default(),
|
||||
performance: PerformanceConfig::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Config {
|
||||
pub fn load(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue