From 4dd76d84ed0c1789d9acc66d4304eda18a0ed4ac Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 18 Jun 2024 09:18:04 +0100 Subject: chore: update to cargo-dist 0.16, enable attestations (#2156) --- Cargo.toml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 7ab0db2a..27d656a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,28 +58,24 @@ features = ["runtime-tokio-rustls", "time", "postgres", "uuid"] # Config for 'cargo dist' [workspace.metadata.dist] +# Path that installers should place binaries in install-path = "~/.atuin/bin" # The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) -cargo-dist-version = "0.15.0" +cargo-dist-version = "0.16.0" # CI backends to support ci = "github" # The installers to generate for each app installers = ["shell"] # Target platforms to build apps for (Rust target-triple syntax) -targets = [ - "aarch64-apple-darwin", - "aarch64-unknown-linux-gnu", - "aarch64-unknown-linux-musl", - "x86_64-apple-darwin", - "x86_64-unknown-linux-gnu", - "x86_64-unknown-linux-musl", -] +targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl"] # Publish jobs to run in CI pr-run-mode = "plan" # Whether to install an updater program install-updater = true # The archive format to use for non-windows builds (defaults .tar.xz) unix-archive = ".tar.gz" +# Whether to enable GitHub Attestations +github-attestations = true # The profile that 'cargo dist' will build with [profile.dist] -- cgit v1.3.1