aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs1
-rw-r--r--src/manager/builder.rs (renamed from src/builder.rs)0
-rw-r--r--src/manager/mod.rs (renamed from src/manager.rs)4
3 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 3d74674..4ae628e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -16,7 +16,6 @@ use std::{fs, io};
#[cfg(feature = "toml")]
use toml;
-mod builder;
mod config;
mod manager;
mod model;
diff --git a/src/builder.rs b/src/manager/builder.rs
index 9fc2291..9fc2291 100644
--- a/src/builder.rs
+++ b/src/manager/builder.rs
diff --git a/src/manager.rs b/src/manager/mod.rs
index 3f487bf..8e8792d 100644
--- a/src/manager.rs
+++ b/src/manager/mod.rs
@@ -2,7 +2,7 @@
//
// See COPYING.
-use crate::{builder, config, model, proto, wg};
+use crate::{config, model, proto, wg};
use std::ffi::{OsStr, OsString};
#[cfg(unix)]
use std::os::unix::fs::OpenOptionsExt;
@@ -10,6 +10,8 @@ use std::path::{Path, PathBuf};
use std::time::{Duration, Instant, SystemTime};
use std::{fs, io};
+mod builder;
+
struct Source {
name: String,
config: config::Source,