ksud: auto resize image based on module size

This commit is contained in:
tiann
2023-01-24 15:00:31 +08:00
parent 780a42d823
commit b4bc2e66e6
4 changed files with 35 additions and 15 deletions

View File

@@ -371,6 +371,15 @@ dependencies = [
"digest",
]
[[package]]
name = "humansize"
version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6cb51c9a029ddc91b07a787f1d86b53ccfa49b0e86688c946ebe8d3555685dd7"
dependencies = [
"libm",
]
[[package]]
name = "humantime"
version = "2.1.0"
@@ -434,6 +443,7 @@ dependencies = [
"const_format",
"encoding",
"env_logger",
"humansize",
"java-properties",
"log",
"regex",
@@ -457,6 +467,12 @@ version = "0.2.139"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
[[package]]
name = "libm"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb"
[[package]]
name = "linux-raw-sys"
version = "0.1.4"