From f129dadf8ce4971f794ae325f610be3e8fdcbea8 Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Sun, 28 May 2023 22:40:21 +0200 Subject: Cargo-dist config for building releases --- Cargo.lock | 2 +- Cargo.toml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index d3f9fc2..8d56231 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -674,7 +674,7 @@ checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" [[package]] name = "shackle-shell" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 521add9..f975549 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,3 +39,16 @@ incremental = false [profile.release] lto = true + +# The profile that 'cargo dist' will build with +[profile.dist] +inherits = "release" + +# Config for 'cargo dist' +[workspace.metadata.dist] +# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) +cargo-dist-version = "0.0.7" +# The preferred Rust toolchain to use in CI (rustup toolchain syntax) +rust-toolchain-version = "1.67.1" +# Target platforms to build apps for (Rust target-triple syntax) +targets = ["x86_64-unknown-linux-gnu"] -- cgit v1.2.3