ksud: fix issues found by clippy (#167)

These issues are mostly found by `cargo clippy -- -W clippy::pedantic`.
This commit is contained in:
skbeh
2023-02-03 09:45:07 +08:00
committed by GitHub
parent bea93f6ad7
commit 219ea1c458
13 changed files with 217 additions and 245 deletions

View File

@@ -32,9 +32,12 @@ rust-embed = { version = "6.4.2", features = [
"compression", # must clean build after updating binaries
] }
[target.'cfg(target_os = "android")'.dependencies]
[target.'cfg(unix)'.dependencies]
sys-mount = "2.0.1"
# some android specific dependencies which compiles under unix are also listed here for convenience of coding
android-properties = { version = "0.2.2", features = ["bionic-deprecated"] }
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.12"
[profile.release]