From e5d542e247b2306c9e8b0ec3851a483678dad9f4 Mon Sep 17 00:00:00 2001 From: FlareFlo Date: Thu, 26 Dec 2024 22:09:47 +0100 Subject: [PATCH] Update cargo dist --- Cargo.toml | 18 ------------------ dist-workspace.toml | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 18 deletions(-) create mode 100644 dist-workspace.toml diff --git a/Cargo.toml b/Cargo.toml index fbd8890..085e919 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,21 +49,3 @@ const_format = { version = "0.2.31", default-features = false, features = ["fmt" zip = { version = "2.1.6", features = ["deflate"], default-features = false } wt_version = { git = "https://github.com/Warthunder-Open-Source-Foundation/wt_version.git" } atty = "0.2.14" - -# Config for 'cargo dist' -[workspace.metadata.dist] -# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) -cargo-dist-version = "0.21.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-pc-windows-msvc"] -# Which actions to run on pull requests -pr-run-mode = "skip" -# Path that installers should place binaries in -install-path = "CARGO_HOME" -# Whether to install an updater program -install-updater = true -allow-dirty = ["ci"] \ No newline at end of file diff --git a/dist-workspace.toml b/dist-workspace.toml new file mode 100644 index 0000000..003bc9f --- /dev/null +++ b/dist-workspace.toml @@ -0,0 +1,21 @@ +[workspace] +members = ["cargo:."] + +# Config for 'cargo dist' +[dist] +# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) +cargo-dist-version = "0.23.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"] +# Which actions to run on pull requests +pr-run-mode = "skip" +# Path that installers should place binaries in +install-path = "CARGO_HOME" +# Whether to install an updater program +install-updater = true +# Skip checking whether the specified configuration files are up to date +allow-dirty = ["ci"]