mirror of https://github.com/bobwen-dev/hunter
update dependencies and fix build
This commit is contained in:
parent
d42f7d328c
commit
17c2522124
File diff suppressed because it is too large
Load Diff
|
@ -31,7 +31,7 @@ failure_derive = "0.1.1"
|
|||
notify = "4.0.12"
|
||||
parse-ansi = "0.1.6"
|
||||
signal-notify = "0.1.3"
|
||||
systemstat = "0.1.4"
|
||||
systemstat = "0.1.5"
|
||||
mime_guess = "2.0.0-alpha.6"
|
||||
async_value = "0.2"
|
||||
osstrtools = "0.1.9"
|
||||
|
@ -81,8 +81,7 @@ required-features = ["img"]
|
|||
|
||||
|
||||
|
||||
[patch.crates-io]
|
||||
systemstat = { git = 'https://github.com/myfreeweb/systemstat', tag="v0.1.4" }
|
||||
|
||||
|
||||
# These options increase performance and generate a smaller binary
|
||||
[profile.release]
|
||||
|
|
|
@ -76,10 +76,12 @@ impl FsExt for Filesystem {
|
|||
}
|
||||
|
||||
fn get_total(&self) -> String {
|
||||
self.total.to_string(false)
|
||||
self.total.to_string_as(false)
|
||||
}
|
||||
|
||||
fn get_free(&self) -> String {
|
||||
self.avail.to_string(false)
|
||||
self.avail.to_string_as(false)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue