Skip to content

Commit

Permalink
refactor(config): removed unused fields
Browse files Browse the repository at this point in the history
  • Loading branch information
n3tw0rth committed Jan 11, 2025
1 parent 01ea12e commit b4aa481
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,9 @@ port = 465
host = ""

[profiles.default]
print_output = true
sendto = ["desktop","email.default"]

[profiles.work]
print_output = true
sendto = ["desktop","gchat.work","email.work"]

[gchat.work]
Expand Down
2 changes: 0 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@ struct Config {
}
#[derive(Deserialize, Debug)]
struct ProfileConfig {
print_output: Option<bool>,
sendto: Vec<String>,
}
#[derive(Deserialize, Debug)]
struct GChatConfig {
webhook: String,
api_key: String,
}
#[derive(Deserialize, Debug, Clone)]
struct EmailConfig {
Expand Down

0 comments on commit b4aa481

Please sign in to comment.