Skip to content

Commit 8f03589

Browse files
committed
fix: use same Rust version locally as in CI
1 parent 2c8bbe5 commit 8f03589

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

justfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ cargo-build-docs: (_cargo-build-docs "" "nodeps")
132132
# Format the application code
133133
@cargo-fmt: _check-cmd-cargo-fmt
134134
printf '==> Running {{ color-cmd }}rustfmt{{ nocolor }}\n'
135-
cargo +nightly fmt
135+
cargo fmt
136136

137137
# Build service for development
138138
cargo-build: _check-cmd-cargo
@@ -164,7 +164,7 @@ cargo-test-default: _check-cmd-cargo
164164
# Run project tests with all features activated
165165
cargo-test-all: _check-cmd-cargo
166166
@printf '==> Testing project ({{ light-green }}all features{{ nocolor }})\n'
167-
cargo +nightly test --all-features
167+
cargo test --all-features
168168

169169
# Run tests from project documentation
170170
cargo-test-doc: _check-cmd-cargo
@@ -184,7 +184,7 @@ cargo-check: _check-cmd-cargo
184184
# Check rust project with clippy
185185
cargo-clippy: _check-cmd-cargo-clippy
186186
@printf '==> Running {{ color-cmd }}clippy{{ nocolor }}\n'
187-
cargo +nightly clippy --all-features --tests -- -D clippy::all
187+
cargo clippy --all-features --tests -- -D clippy::all
188188

189189
# Check unused dependencies
190190
cargo-udeps: _check-cmd-cargo-udeps
@@ -194,7 +194,7 @@ cargo-udeps: _check-cmd-cargo-udeps
194194
# Check the rust code formatting
195195
cargo-checkfmt: _check-cmd-cargo-fmt
196196
@printf '==> Running {{ color-cmd }}rustfmt{{ nocolor }} --check\n'
197-
cargo +nightly fmt --check
197+
cargo fmt --check
198198

199199
################################################################################
200200
# Terraform recipes

src/handlers/profile/address.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ use {
1313
state::AppState,
1414
utils::{
1515
crypto::{
16-
constant_time_eq,
17-
convert_coin_type_to_evm_chain_id,
18-
is_coin_type_supported,
16+
constant_time_eq, convert_coin_type_to_evm_chain_id, is_coin_type_supported,
1917
verify_message_signature,
2018
},
2119
self_transport::SelfTransport,

src/handlers/profile/attributes.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ use {
1111
state::AppState,
1212
utils::{
1313
crypto::{
14-
constant_time_eq,
15-
convert_coin_type_to_evm_chain_id,
16-
is_coin_type_supported,
14+
constant_time_eq, convert_coin_type_to_evm_chain_id, is_coin_type_supported,
1715
verify_message_signature,
1816
},
1917
self_transport::SelfTransport,

src/handlers/profile/register.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ use {
1717
state::AppState,
1818
utils::{
1919
crypto::{
20-
convert_coin_type_to_evm_chain_id,
21-
is_coin_type_supported,
22-
verify_message_signature,
20+
convert_coin_type_to_evm_chain_id, is_coin_type_supported, verify_message_signature,
2321
},
2422
self_transport::SelfTransport,
2523
},

0 commit comments

Comments
 (0)