aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2024-01-19 23:34:24 +0100
committerStanisław Zagórowski <hasohasacz@gmail.com>2024-01-19 23:34:24 +0100
commitb502d3302c332f3a8e1e6aa106b1bc4bf8f8c430 (patch)
tree97c8fd0c873a92070799a3906ccba6f85a03b10d /Cargo.toml
parent1c338ed6c173d55b842429e939ddacaade9f30c3 (diff)
misc: add cargo-dist
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 22f7cde..653821d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -22,3 +22,21 @@ rlua = { version = "0.19.7", default-features = false, features = ["system-luaji
tempfile = "3.9.0"
tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread"] }
utf8-read = "0.4.0"
+
+# The profile that 'cargo dist' will build with
+[profile.dist]
+inherits = "release"
+lto = "thin"
+
+# Config for 'cargo dist'
+[workspace.metadata.dist]
+# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
+cargo-dist-version = "0.8.0"
+# CI backends to support
+ci = ["github"]
+# The installers to generate for each app
+installers = ["shell", "powershell"]
+# 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 = "skip"