chore(dist): Configure cargo-dist (#10)

Signed-off-by: Jagoda Ślązak <jslazak@jslazak.com>
This commit is contained in:
Jagoda Estera Ślązak
2026-01-21 14:26:37 +01:00
committed by GitHub
parent c010d999f5
commit 41e9e9f6d0
2 changed files with 16 additions and 0 deletions
+5
View File
@@ -26,3 +26,8 @@ env_logger = "0.11.8"
[dev-dependencies]
rstest = "0.26.1"
testresult = "0.4.1"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
+11
View File
@@ -0,0 +1,11 @@
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.30.3"
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]