-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
70 lines (60 loc) · 1.54 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "rusty-cli"
version = "0.3.0"
edition = "2021"
authors = ["Michael Martin <[email protected]>"]
license = "BSD-2-Clause"
repository = "https://github.com/flrgh/rusty-cli"
description = "resty-cli, rewritten"
build = "build.rs"
# not publishing to crates.io (yet), but this needs to be set to true
# in order for cargo-dist to run
publish = true
[dependencies]
shlex = "1.3.0"
strum = { version = "0.26", features = ["derive"] }
strum_macros = "0.26"
libc = "0.2"
nix = { version = "0.29.0", features = ["signal", "process", "fs", "feature"] }
thiserror = "1.0.68"
[lints.rust]
unsafe_code = "forbid"
[profile.release]
opt-level = "z"
strip = true
codegen-units = 1
lto = true
# cargo-dist
[profile.dist]
inherits = "release"
lto = "thin"
# cargo-dist
[workspace.metadata.dist]
cargo-dist-version = "0.22.1"
ci = ["github"]
installers = ["shell"]
unix-archive = ".tar.gz"
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
]
# cargo-dist buildjet runners for arm64
[workspace.metadata.dist.github-custom-runners]
aarch64-unknown-linux-gnu = "buildjet-8vcpu-ubuntu-2204-arm"
aarch64-unknown-linux-musl = "buildjet-8vcpu-ubuntu-2204-arm"
# cargo-release
[workspace.metadata.release]
sign-commit = true
sign-tag = true
push = true
tag = true
consolidate-commits = true
pre-release-commit-message = "release: {{version}}"
tag-message = "release: {{version}}"
[dev-dependencies]
#cargo-dist = "0.22.1"
#cargo-release = "0.25.8"