Clean up codebase, use patch in hddtemp Nix store path #1

Merged
Nickiel merged 9 commits from ElnuDev/nicks_nextcloud_integrations:main into main 2023-08-26 12:46:03 -07:00
Showing only changes of commit 6576e2f3f9 - Show all commits

View file

@ -127,7 +127,7 @@ struct NoteUpdate {
content: String,
}
#[derive(Serialize, Deserialize)]
#[derive(Serialize, Deserialize, Default)]
struct Config {
user: String,
pswd: String,
@ -135,17 +135,6 @@ struct Config {
server_url: String,
}
impl Default for Config {
fn default() -> Self {
Self {
user: "".to_string(),
pswd: "".to_string(),
note_id: "".to_string(),
server_url: "".to_string(),
}
}
}
#[derive(Parser, Debug)]
#[command(author, version, about, long_about=None)]
struct CliArgs {