feat: multiline logging

This commit is contained in:
Strix 2023-10-14 22:39:44 +02:00
parent 401efe3862
commit 9a852ee88e
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
7 changed files with 75 additions and 38 deletions

View file

@ -4,12 +4,15 @@ use serde::{Deserialize, Serialize};
pub struct Config {
#[serde(default)]
pub build_by_default: bool,
#[serde(default)]
pub tmp_dir: Option<String>,
}
impl Default for Config {
fn default() -> Config {
Config {
build_by_default: false,
tmp_dir: Some(String::from("/tmp/pkgr"))
}
}
}