Skip to content

Commit

Permalink
CLI: remove top-level Cargo workspace, bump deps, raise dist version (#…
Browse files Browse the repository at this point in the history
…1628)

This is some general maintenance around the CLI.

Removing the top-level Cargo.toml helps with rust-analyzer
configuration. Initially it wasn't clear if dist required this
(bootstrapping the dist workspace didn't seem to work without it) but
now that everything is in place, I think we don't need it.

Since there's no longer a top-level `Cargo.lock` I took this opportunity
to `cargo update` the CLI's package-local lockfile.


---

I verified the build workflows are all still happy with this change by
setting `pr-run-mode = "upload"` in `dist-workspace.toml`.


https://github.com/svix/svix-webhooks/actions/runs/12677571884/job/35333195678?pr=1628
  • Loading branch information
svix-onelson authored Jan 9, 2025
2 parents eb32214 + 3d41dbe commit 5c864fd
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 2,578 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
# we specify bash to get pipefail; it guards against the `curl` command
# failing. otherwise `sh` won't catch that `curl` returned non-0
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.27.0/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28.0/cargo-dist-installer.sh | sh"
- name: Cache dist
uses: actions/upload-artifact@v4
with:
Expand Down
Loading

0 comments on commit 5c864fd

Please sign in to comment.