-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (31 loc) · 750 Bytes
/
Copy pathCargo.toml
File metadata and controls
35 lines (31 loc) · 750 Bytes
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
[package]
name = "packager"
version = "0.2.0"
edition = "2021"
rust-version = "1.75"
license = "MIT"
repository = "https://github.com/barscn/packager"
description = "Turn a local .deb or .rpm into a pacman package on Arch"
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
ureq = "2"
thiserror = "2"
tar = "0.4"
flate2 = "1"
[features]
default = []
system = []
# Smaller CLI: fat LTO, one CGU, stripped. panic=abort is fine — tests use unwind.
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"
# `cargo build --profile release-with-debug` when a shipped binary needs backtraces.
[profile.release-with-debug]
inherits = "release"
debug = true
strip = false
panic = "unwind"