Skip to content

Commit 3bf8968

Browse files
sionsmithclaude
andcommitted
fix: move dist config from Cargo.toml to dist-workspace.toml
cargo-dist v0.30.2 with dist-workspace.toml expects all config in that file, not in [workspace.metadata.dist]. Removed duplicate config from Cargo.toml and consolidated in dist-workspace.toml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2a0394a commit 3bf8968

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,3 @@ unsafe_code = "forbid"
8989
all = { level = "warn", priority = -1 }
9090
module_name_repetitions = "allow"
9191
redundant_closure_for_method_calls = "allow"
92-
93-
[workspace.metadata.dist]
94-
cargo-dist-version = "0.30.2"
95-
ci = "github"
96-
installers = ["shell", "powershell", "homebrew"]
97-
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
98-
install-path = "CARGO_HOME"
99-
install-updater = false
100-
pr-run-mode = "plan"
101-
auto-includes = true
102-
tap = "osodevops/homebrew-tap"
103-
publish-jobs = ["homebrew", "scoop"]

dist-workspace.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
members = ["cargo:./"]
33

44
[dist]
5+
cargo-dist-version = "0.30.2"
6+
ci = "github"
57
targets = [
68
"aarch64-apple-darwin",
79
"x86_64-apple-darwin",
810
"x86_64-unknown-linux-gnu",
911
"x86_64-pc-windows-msvc",
1012
]
1113
installers = ["shell", "powershell", "homebrew"]
14+
install-path = "CARGO_HOME"
15+
install-updater = false
16+
pr-run-mode = "plan"
17+
auto-includes = true
1218
tap = "osodevops/homebrew-tap"
1319
publish-jobs = ["homebrew", "scoop"]

0 commit comments

Comments
 (0)