[package] name = "ksud" version = "0.1.0" edition = "2021" rust-version = "1.65" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] anyhow = "1" clap = { version = "4", features = ["derive"] } const_format = "0.2" zip = "0.6" zip-extensions = "0.6" java-properties = "2.0.0" log = "0.4" env_logger = "0.10" serde = { version = "1" } serde_json = "1" regex = "1" encoding_rs = "0.8" retry = "2" humansize = "2" libc = "0.2" extattr = "1" jwalk = "0.8" is_executable = "1" nom = "7" derive-new = "0.5" rust-embed = { version = "6", features = [ "debug-embed", "compression", # must clean build after updating binaries ] } which = "5" getopts = "0.2" sha256 = "1" [target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] sys-mount = { git = "https://github.com/tiann/sys-mount", branch = "loopfix" } # 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"] } procfs = "0.16" [target.'cfg(target_os = "android")'.dependencies] android_logger = "0.13" [profile.release] strip = true opt-level = "z" lto = true