Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (54 loc) · 2 KB
/
Copy pathCargo.toml
File metadata and controls
58 lines (54 loc) · 2 KB
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
[workspace]
members = [
"webdiff",
"cli",
# internal
"examples",
"fixture-server",
"bench",
#"experiment"
]
resolver = "3"
# The profile of the release binaries of dist (f0016).
[profile.dist]
inherits = "release"
lto = "thin"
# The release of the binaries with dist (f0016), as for yqr: a tag vX.Y.Z
# starts .github/workflows/release.yml, which `dist generate` writes from
# this config. Do not edit the workflow by hand.
[workspace.metadata.dist]
allow-dirty = ["ci"]
# The dist version of the workflow (Cargo.toml SemVer syntax).
cargo-dist-version = "0.33.0"
ci = "github"
# A shell installer, and a formula for the tap.
installers = ["shell", "homebrew"]
# macOS on ARM and Intel, and Linux on Intel and ARM, each on a native
# runner. A glibc binary needs glibc 2.34 or newer. The shell installer takes
# it from glibc 2.35 on, the glibc of the build runner. A musl binary is
# static, and needs no glibc (f0025). dist installs musl-tools for its C code.
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"x86_64-unknown-linux-musl",
]
# The tap of zoosky's tools. The publish job needs the secret
# HOMEBREW_TAP_TOKEN, a token with write access to it.
tap = "zoosky/homebrew-tap"
formula = "webdiff"
publish-jobs = ["homebrew"]
install-updater = false
# The workflow does not run on a pull request. The job `release` of ci.sh
# checks it. A dry run of the build on a pull request: set "upload".
pr-run-mode = "skip"
# The glibc and macOS builds need no system package: no crate uses OpenSSL
# (f0025), and aws-lc-sys and zstd-sys need only the C compiler of the
# runner. The musl builds also need musl-tools, which dist installs itself.
# The runners, as for yqr: GitHub retired the macos-14 image that dist uses
# for ARM macOS, and `global` runs the jobs that build nothing.
[workspace.metadata.dist.github-custom-runners]
aarch64-apple-darwin = "macos-15"
global = "ubuntu-26.04"