-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
51 lines (48 loc) · 2.28 KB
/
Copy pathdist-workspace.toml
File metadata and controls
51 lines (48 loc) · 2.28 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
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.31.0"
# Allow customized CI files (e.g. Homebrew git user/email, GH_PAT secret)
allow-dirty = ["ci"]
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "homebrew"]
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
# Target platforms to build apps for (Rust target-triple syntax)
# x86_64-apple-darwin (Intel Macs) was added by P13 and dropped again
# 2026-08-01, before ever shipping in a release: dist's default runner for it
# is macos-13, whose GitHub runners queue near-indefinitely, and the Intel
# Mac audience is sunsetting (Apple ended Intel support with macOS 26).
# Revisit only on demand, via dist's github-custom-runners cross-compiling
# from macos-latest rather than the macos-13 pool. Musl (static Linux) is
# deliberately NOT here yet: rdkafka's build is the risk, and
# cross-os-build.yml compiles x86_64-unknown-linux-musl on every relevant
# PR — promote it into this list once that job has a green history.
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Homebrew tap repository
tap = "GoPlasmatic/homebrew-tap"
# Attest dist artifacts with GitHub build provenance (proposal P12). The
# committed release.yml carries the matching hand-edits (allow-dirty = ["ci"]
# means dist does not regenerate it); keep this flag so a future regen
# preserves them.
github-attestations = true
# System dependencies for rdkafka-sys. P14: librdkafka builds via its native
# configure on unix (cmake stays Windows-only, see Cargo.toml), and the
# vendored OpenSSL build needs perl — GitHub's runner images preinstall all
# of these, so this list matters exactly when a dist build runs in a
# container, where nothing is preinstalled. Keep it in step with the
# Dockerfile's builder-stage apt line and .github/actions/apt-build-deps.
[dist.dependencies.apt]
cmake = "*"
"g++" = "*"
pkg-config = "*"
libcurl4-openssl-dev = "*"
perl = "*"
# macOS runners preinstall the whole toolchain; kept for a hypothetical
# cmake-less runner image rather than because the configure path needs it.
[dist.dependencies.homebrew]
cmake = "*"