From 442cb4b519a8b218ef0f2c7826f94fd1d06f920b Mon Sep 17 00:00:00 2001 From: sreedev Date: Thu, 10 Aug 2023 13:05:29 -0400 Subject: [PATCH] added cargo dist options --- Cargo.toml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3e15ccc..6d89608 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,11 +29,20 @@ prettytable-rs = "0.10.0" rayon = "1.6.1" unicode-segmentation = "1.10.0" +[profile.release] +strip = true + # generated by 'cargo dist init' [profile.dist] inherits = "release" -debug = false -split-debuginfo = "packed" +lto = "thin" -[profile.release] -strip = true +[workspace.metadata.dist] +# The preferred Rust toolchain to use in CI (rustup toolchain syntax) +rust-toolchain-version = "1.71.0" +# CI backends to support (see 'cargo dist generate-ci') +ci = ["github"] +# The installers to generate for each app +installers = [] +# Target platforms to build apps for (Rust target-triple syntax) +targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "aarch64-apple-darwin"]