-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
40 lines (37 loc) · 1.6 KB
/
dist-workspace.toml
File metadata and controls
40 lines (37 loc) · 1.6 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
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.30.2"
# Allow custom modifications to CI workflow files
allow-dirty = ["ci"]
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "homebrew"]
# Target platforms to build apps for (Rust target-triple syntax)
# Note: aarch64-unknown-linux-gnu removed - requires ARM runners not available for private repos
# Note: x86_64-pc-windows-msvc removed - OpenSSL dependencies are complex on Windows
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Where to host releases
hosting = "github"
# Whether to install an updater program
install-updater = false
# Homebrew tap repository for publishing formulas
tap = "osodevops/homebrew-tap"
# Custom formula name
formula = "k2i"
# Publish jobs to run (updates homebrew tap automatically)
publish-jobs = ["homebrew"]
# System dependencies required for building
[dist.dependencies.apt]
cmake = { version = "*", targets = ["x86_64-unknown-linux-gnu"] }
libssl-dev = { version = "*", targets = ["x86_64-unknown-linux-gnu"] }
pkg-config = { version = "*", targets = ["x86_64-unknown-linux-gnu"] }
[dist.dependencies.homebrew]
cmake = { version = "*", targets = ["x86_64-apple-darwin", "aarch64-apple-darwin"] }
openssl = { version = "*", targets = ["x86_64-apple-darwin", "aarch64-apple-darwin"] }
pkg-config = { version = "*", targets = ["x86_64-apple-darwin", "aarch64-apple-darwin"] }