-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (53 loc) · 2 KB
/
Cargo.toml
File metadata and controls
56 lines (53 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[workspace]
resolver = "3"
members = [
"apps/plumeimpactor",
"apps/plumesign",
"crates/plume_core",
"crates/plume_gestalt",
"crates/plume_store",
"crates/plume_utils",
]
[workspace.package]
edition = "2024"
version = "2.2.3"
authors = ["CLARATION <claration@riseup.net>"]
license = "MIT"
repository = "https://github.com/claration/Impactor"
# We use `opt-level = "s"` as it significantly reduces binary size.
# We could then use the `#[optimize(speed)]` attribute for spot optimizations.
# Unfortunately, that attribute currently doesn't work on intrinsics such as memset.
[profile.release]
codegen-units = 1 # reduces binary size by ~2%
debug = "full" # No one needs an undebuggable release binary
lto = true # reduces binary size by ~14%
opt-level = "s" # reduces binary size by ~25%
panic = "abort" # reduces binary size by ~50% in combination with -Zbuild-std-features=panic_immediate_abort
split-debuginfo = "packed" # generates a separate *.dwp/*.dSYM so the binary can get stripped
strip = "symbols" # See split-debuginfo - allows us to drop the size by ~65%
incremental = true # Improves re-compile times
[workspace.dependencies]
tokio = { version = "1.43", features = ["rt-multi-thread"] }
# Application
idevice = { git = "https://github.com/PlumeImpactor/plume-idevice", rev = "3c9dce32e5d1f8a36b9180f63515e999edeae68a", default-features = false, features = [
"full",
"ring",
] }
plist = "1.8"
# Errors
env_logger = "0.11"
log = "0.4"
thiserror = "2.0"
# Utils
uuid = "1.18"
futures = { version = "0.3", default-features = false, features = ["std"] }
chrono = { version = "0.4", default-features = false, features = ["std", "serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
rustls = { version = "0.23", default-features = false, features = [
"std",
"tls12",
"ring",
] }
image = { version = "0.25", default-features = false, features = ["png", "jpeg"] }
goblin = "0.9"