perf: Optimize final build size

This commit is contained in:
2026-02-06 16:17:49 +01:00
parent f8e8077963
commit 0176945bd6
3 changed files with 53 additions and 1198 deletions

View File

@@ -4,19 +4,26 @@ version = "0.1.1"
edition = "2024"
[dependencies]
chrono = { version = "0.4.43", features = ["serde"] }
futures = "0.3.31"
once_cell = "1.21.3"
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] }
chrono = { version = "0.4.39", features = ["serde"] }
minreq = { version = "2.13", features = ["json-using-serde", "https-rustls"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0.18"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
tracing = "0.1.44"
tracing-subscriber = "0.3.22"
android_logger = "0.14"
log = "0.4"
uniffi = { version = "0.27", features = ["cli"] }
thiserror = "2.0.11"
uniffi = { version = "0.27" }
[features]
uniffi-cli = ["uniffi/cli"]
[lib]
crate-type = ["cdylib"]
[[bin]]
name = "uniffi-bindgen"
required-features = ["uniffi-cli"]
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true