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.
22 lines
368 B
22 lines
368 B
//! Global config stuff
|
|
use super::*;
|
|
|
|
/// Global user config
|
|
#[derive(Debug)]
|
|
pub struct Config
|
|
{
|
|
/// The directories to find jobs in
|
|
pub job_dirs: Vec<PathBuf>,
|
|
/// The rules for users
|
|
pub user_rules: Vec<UserRule>,
|
|
}
|
|
|
|
impl Default for Config
|
|
{
|
|
#[inline]
|
|
fn default() -> Self
|
|
{
|
|
Self{job_dirs: Vec::new(), user_rules: Vec::new()}
|
|
}
|
|
}
|