Lean onto default implementation of configs

This commit is contained in:
Aleksey Kladov
2020-04-02 12:47:58 +02:00
parent e4cf40a152
commit 48c58309cc
8 changed files with 24 additions and 70 deletions

View File

@@ -38,12 +38,12 @@ pub struct Config {
#[derive(Debug, Clone)]
pub struct FilesConfig {
watcher: FilesWatcher,
exclude: Vec<String>,
pub watcher: FilesWatcher,
pub exclude: Vec<String>,
}
#[derive(Debug, Clone)]
enum FilesWatcher {
pub enum FilesWatcher {
Client,
Notify,
}