Skip to content

Commit 9dbf896

Browse files
committed
💾 Configure cargo-dist
1 parent e5bf645 commit 9dbf896

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Cargo.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,21 @@ steamid-ng = "1.0"
1818
steamlocate = { version = "1.2", features = ["shortcuts_extras"] }
1919
steamy-vdf = "0.2"
2020
symlink = "0.1"
21+
22+
# The profile that 'cargo dist' will build with
23+
[profile.dist]
24+
inherits = "release"
25+
lto = "thin"
26+
27+
# Config for 'cargo dist'
28+
[workspace.metadata.dist]
29+
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
30+
cargo-dist-version = "0.0.7"
31+
# The preferred Rust toolchain to use in CI (rustup toolchain syntax)
32+
rust-toolchain-version = "1.67.1"
33+
# CI backends to support (see 'cargo dist generate-ci')
34+
ci = ["github"]
35+
# The installers to generate for each app
36+
installers = []
37+
# Target platforms to build apps for (Rust target-triple syntax)
38+
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "aarch64-apple-darwin"]

0 commit comments

Comments
 (0)