Skip to content

Commit

Permalink
Replace battery crate with starship-battery
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Jan 2, 2023
1 parent 357e50e commit e9fac36
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 28 deletions.
53 changes: 27 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ edition = "2018"
[dependencies]
anyhow = "1.0.40"
atoi = "1"
battery = "0.7"
chrono = { version = "0.4.19", features = ["serde"] }
chrono-humanize = "0.2.1"
clamav-rs = "0.5.3"
Expand All @@ -24,7 +23,7 @@ colored = "2.0.0"
config = { version = "0.13", default-features = false, features = ["toml"] }
crossbeam-channel = "0.5.1"
dirs = "4"
env_logger = "0.9"
env_logger = "0.10"
glob = "0.3.0"
human-size = "0.4.1"
ioprio = "0.2"
Expand All @@ -37,6 +36,7 @@ num_cpus = "1.13.0"
rand = "0.8.3"
serde = { version = "1.0.125", features = ["derive"] }
serde_json = "1.0.64"
starship-battery = "0.7.9"
v_htmlescape = "0.15"
walkdir = "2.3.2"

Expand Down
1 change: 1 addition & 0 deletions src/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use crate::scan;
use chrono::{DateTime, Datelike, Local, NaiveTime, TimeZone, Timelike, Utc};
use rand::Rng;
use serde::{de, Deserialize, Deserializer, Serialize, Serializer};
use starship_battery as battery;
use std::cmp;
use std::str::FromStr;
use std::thread;
Expand Down

0 comments on commit e9fac36

Please sign in to comment.