Skip to content

Commit

Permalink
👷 move install of cargo-binstall under mise's control
Browse files Browse the repository at this point in the history
Signed-off-by: David Bernard <[email protected]>
  • Loading branch information
davidB committed Feb 8, 2024
1 parent f448a02 commit ecb395f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ ctlptl = '0.8' # to setup / manage local k8s (kind) cluster
kind = '0.20' # to have a local k8s cluster (on top of docker)
java = '*' # required by skaffold
skaffold = '2' # to have simple watch flow to build container, to publish container on local k8s registry, to deploy helm chart with new container

'cargo:cargo-binstall' = 'latest'

[settings]
experimental = true
15 changes: 7 additions & 8 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,24 @@ pg_offline_url := "postgres://" + pg_offline_user + ":" + pg_offline_pwd + "@127
default:
@just --list --unsorted

_install_cargo-binstall:
cargo install cargo-binstall

_install_cargo-nextest: _install_cargo-binstall
# cargo-binstall is pre-installed by mise (or manually)
_install_cargo-nextest:
cargo binstall cargo-nextest -y

_install_cargo-insta: _install_cargo-binstall
_install_cargo-insta:
cargo binstall cargo-insta -y

_install_cargo-release: _install_cargo-binstall
_install_cargo-release:
cargo binstall cargo-release -y

_install_cargo-hack: _install_cargo-binstall
_install_cargo-hack:
cargo binstall cargo-hack -y

_install_cargo-deny: _install_cargo-binstall
_install_cargo-deny:
cargo binstall cargo-deny -y

_install_git-cliff: _install_cargo-binstall
_install_git-cliff:
cargo binstall git-cliff -y

_install_sqlx-cli:
Expand Down
2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.75.0"

0 comments on commit ecb395f

Please sign in to comment.