added cargo dist options

This commit is contained in:
sreedev
2023-08-10 13:05:29 -04:00
parent 8463e72f2d
commit 442cb4b519

View File

@@ -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"]