~mort/coffeepaste

2c157f2474f07c1c6c13be8836b7abc9105a789b — Martin Dørum 3 months ago ffefeb6
use defaults for config
1 files changed, 1 insertions(+), 0 deletions(-)

M src/main.rs
M src/main.rs => src/main.rs +1 -0
@@ 51,6 51,7 @@ struct UserConfig {
}

#[derive(Deserialize, Debug)]
#[serde(default)]
struct Config {
    data: String,
    expiration_days: i64,