universal-android-debloater.../Cargo.toml
2024-07-11 13:10:33 -04:00

64 lines
1.7 KiB
TOML

[package]
name = "uad-ng"
description = "A cross-platform GUI debloater for android devices"
version = "1.0.3"
authors = ["Universal-Debloater-Alliance"]
license = "GPL-3.0"
homepage = "https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation"
repository = "https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation"
readme = "README.md"
keywords = ["debloater", "android", "adb", "privacy", "bloatware"]
categories = ["gui"]
edition = "2021"
[features]
default = ["wgpu", "self-update"]
wgpu = [] # Iced/wgpu is default
self-update = ["flate2", "tar"]
no-self-update = []
[dependencies]
dark-light = { version = "^1.0.0" }
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
static_init = "^1.0"
fern = { version = "^0", features = ["colored"] }
chrono = { version = "^0.4", default-features = false, features = [
"std",
"clock",
] }
log = "^0.4"
regex = "^1.10.2"
toml = "^0"
dirs = "^5.0.0"
ureq = { version = "*", features = ["json"] }
retry = "^2.0.0"
iced = { version = "^0.12.0", features = ["advanced", "image"] }
rfd = "^0.14"
csv="^1.3"
[target.'cfg(not(target_os = "windows"))'.dependencies]
flate2 = { version = "^1", optional = true }
tar = { version = "^0.4", optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
win32console = "^0.1.5"
[profile.release]
opt-level = "s"
lto = true
strip = "symbols"
[build-dependencies]
embed-resource = "2.4.2"
[lints.rust]
# "forbid" may cause conflicts with libs (static and dynamic)
unsafe_code = "deny"
[lints.clippy]
exit = "deny"
unwrap_used = "warn"
infinite_loop = "warn"
format_push_string = "warn"
large_include_file = "warn"