-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathCargo.toml
110 lines (101 loc) · 3.68 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[workspace]
members = [
"axoproject",
"cargo-dist",
"cargo-dist-schema",
]
resolver = "2"
exclude = ["axoproject/tests/projects/"]
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/axodotdev/cargo-dist"
homepage = "https://opensource.axo.dev/cargo-dist/"
version = "0.20.0-prerelease.5"
[workspace.dependencies]
# intra-workspace deps (you need to bump these versions when you cut releases too!
cargo-dist-schema = { version = "=0.20.0-prerelease.5", path = "cargo-dist-schema" }
axoproject = { version = "=0.20.0-prerelease.5", path = "axoproject", default-features = false, features = ["cargo-projects", "generic-projects", "npm-projects"] }
# first-party deps
axocli = { version = "0.2.0" }
axoupdater = { version = "0.6.9" }
axotag = "0.2.0"
axoasset = { version = "1.0.0", features = ["json-serde", "toml-serde", "toml-edit", "compression", "remote"] }
axoprocess = { version = "0.2.0" }
gazenot = { version = "0.3.3" }
# third-party deps
clap = { version = "4.5.9", features = ["derive"] }
console = { version = "0.15.8" }
clap-cargo = { version = "0.14.0" }
comfy-table = "7.1.1"
miette = { version = "7.2.0" }
thiserror = "1.0.63"
tracing = { version = "0.1.36", features = ["log"] }
serde = { version = "1.0.204", features = ["derive"] }
serde_json = { version = "1.0.120" }
cargo_metadata = "0.18.1"
camino = { version = "1.1.4", features = ["serde1"] }
semver = "1.0.23"
newline-converter = "0.3.0"
dialoguer = "0.11.0"
sha2 = "0.10.6"
minijinja = { version = "2.0.3", features = ["debug", "loader", "builtins", "json", "custom_syntax"] }
include_dir = "0.7.4"
itertools = "0.13.0"
cargo-wix = "0.3.8"
uuid = { version = "1", features = ["v4"] }
mach_object = "0.1"
goblin = "0.8.2"
similar = "2.6.0"
tokio = { version = "1.38.1", features = ["full"] }
temp-dir = "0.1.13"
sha3 = "0.10.8"
blake2 = "0.10.6"
homedir = "0.2.1"
insta = { version = "1.39.0", features = ["filters"] }
tar = "0.4.41"
flate2 = "1.0.30"
pathdiff = { version = "0.2.1", features = ["camino"] }
url = "2.5.0"
parse-changelog = "0.6.8"
schemars = "0.8.21"
serde_yml = "0.0.10"
[workspace.metadata.release]
shared-version = true
tag-name = "v{{version}}"
pre-release-commit-message = "release: {{version}}"
publish = false
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.20.0-prerelease.2"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "homebrew"]
# A GitHub repo to push Homebrew formulas to
tap = "axodotdev/homebrew-tap"
# Publish jobs to run in CI
publish-jobs = ["homebrew", "./publish-crates"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "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 = "plan"
# Where to host releases
hosting = ["axodotdev", "github"]
# Whether to install an updater program
install-updater = false
# Whether to enable GitHub Attestations
github-attestations = true
# Path that installers should place binaries in
install-path = "CARGO_HOME"
[[workspace.metadata.dist.extra-artifacts]]
artifacts = ["dist-manifest-schema.json"]
build = ["cargo", "run", "--release", "--", "dist", "manifest-schema", "--output=dist-manifest-schema.json"]
[workspace.metadata.dist.github-custom-runners]
aarch64-unknown-linux-gnu = "buildjet-8vcpu-ubuntu-2204-arm"
aarch64-unknown-linux-musl = "buildjet-8vcpu-ubuntu-2204-arm"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"