add config_util.rs

This commit is contained in:
2019-11-29 08:09:39 +08:00
parent 8038d7197f
commit 53fed04b73
2 changed files with 5 additions and 0 deletions

4
src/config_util.rs Normal file
View File

@@ -0,0 +1,4 @@
pub const ETC_OSS_BACKUPD_CONFIG: &str = "/etc/oss-backupd/config.json";
pub const OSS_BACKUPD_CONFIG: &str = "oss-backupd-config.json";
pub const DOT_OSS_BACKUPD_CONFIG: &str = ".oss-backupd-config.json";

View File

@@ -1,6 +1,7 @@
extern crate sequoia_openpgp as openpgp;
pub mod oss_util;
pub mod pgp_util;
pub mod config_util;
use std::{
time::SystemTime,