Skip to content

Commit 1addda6

Browse files
committed
chore(bin): integrate cargo-run-bin
1 parent cea68b5 commit 1addda6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33

44
# Backup files generated by rustfmt
55
**/*.rs.bk
6+
7+
# Binaries that are installed by cargo-run-bin
8+
.bin/

Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ debug = false
5050
inherits = "release"
5151
lto = "thin"
5252

53-
# Config for 'cargo dist'
53+
# Configuration for 'cargo dist'
5454
[workspace.metadata.dist]
5555
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
5656
cargo-dist-version = "0.5.0"
@@ -69,3 +69,7 @@ targets = [
6969
pr-run-mode = "upload"
7070
# Skip checking whether the specified configuration files are up to date
7171
allow-dirty = ["ci", "msi"]
72+
73+
# Configuration for 'cargo-run-bin'
74+
[workspace.metadata.bin]
75+
cargo-dist = { version = "0.5.0", locked = true }

0 commit comments

Comments
 (0)