-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
70 lines (64 loc) · 2.08 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
[workspace]
resolver = "2"
members = ["distrans-fileindex", "distrans-peer", "distrans-cli"]
[workspace.package]
authors = ["Casey Marshall <[email protected]>"]
documentation = "https://github.com/cmars/distrans"
edition = "2021"
homepage = "https://github.com/cmars/distrans"
license = "MPL-2.0"
repository = "https://github.com/cmars/distrans"
version = "0.3.15"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.19.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "npm", "homebrew", "msi"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"x86_64-pc-windows-msvc",
]
# Publish jobs to run in CI
pr-run-mode = "upload"
# Where to host releases
hosting = "github"
# A GitHub repo to push Homebrew formulas to
tap = "cmars/homebrew-tap"
# The archive format to use for windows builds (defaults .zip)
windows-archive = ".tar.gz"
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# Publish jobs to run in CI
publish-jobs = ["homebrew", "npm"]
# Whether to install an updater program
install-updater = false
# Path that installers should place binaries in
install-path = "CARGO_HOME"
### TODO: remove once cargo-dist 0.20.0 releases
allow-dirty = ["ci"]
### TODO: uncomment once cargo-dist 0.20.0 releases
## Customize Github build setup
#github-build-setup = "build-setup.yml"
[workspace.metadata.release]
shared-version = true
tag-name = "v{{version}}"
[workspace.dependencies]
backoff = { version = "0.4", features = ["tokio"] }
sha2 = { version = "0.10", features = ["asm"] }
tokio = { version = "1.40", features = ["full"] }
tracing = { version = "0.1", features = ["log", "attributes"] }
veilid-core = "0.4.1"
[profile.release]
strip = true
opt-level = "z"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"