-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
52 lines (43 loc) · 1.1 KB
/
Cargo.toml
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
[package]
name = "ue-rs"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.75"
argh = "0.1"
env_logger = "0.10"
globset = "0.4"
log = "0.4"
reqwest = { version = "0.11", features = ["blocking"] }
sha2 = "0.10"
tempfile = "3.8.1"
url = "2"
uuid = "1.8"
[dependencies.hard-xml]
path = "vendor/hard-xml"
[dependencies.omaha]
path = "omaha"
[dependencies.update-format-crau]
path = "update-format-crau"
[workspace]
members = [
"omaha",
"update-format-crau"
]
[[bin]]
name = "crau_verify"
path = "test/crau_verify.rs"
[profile.release]
# We do some offset calculations for extraction and
# the generated protobuf code does even more, let's
# be cautious
overflow-checks = true
# Reduce binary size by stripping debug symbols
strip = true
# Reduce binary size by using one codegen unit for similar gains as thin LTO
# (which we had problem with when cross-compiling)
codegen-units = 1
# cargo-machete shows false positive of uuid, which is actually needed.
[package.metadata.cargo-machete]
ignored = ["uuid"]