-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes tests and clippy issues, locks onto a Rust version (#69)
* don't build with beta * locks rust to 1.63, fixes tests and clippy errors * hope CI installs the rust version from the toml file * adds a Justfile * removes broken examples * simplify CI to only run `just ci`
- Loading branch information
1 parent
dada6a8
commit af71fee
Showing
12 changed files
with
55 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# just manual: https://github.com/casey/just/#readme | ||
|
||
_default: | ||
@just --list | ||
|
||
# Runs clippy on the sources | ||
check: | ||
cargo clippy --locked --tests -- -D warnings | ||
|
||
# removes all build artifacts | ||
clean: | ||
rm -r target | ||
|
||
# builds nexus | ||
build: | ||
cargo build --locked | ||
|
||
# builds in release mode | ||
build-release: | ||
cargo build --locked --release | ||
|
||
# Formats the code base | ||
fmt: | ||
cargo fmt | ||
|
||
# runs tests | ||
test: | ||
cargo test --locked | ||
|
||
# runs the same checks performed by the CI job | ||
ci: | ||
just fmt | ||
git diff --exit-code | ||
just check | ||
just build | ||
just test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![allow(clippy::derive_partial_eq_without_eq)] | ||
#[macro_use] | ||
extern crate serde_derive; | ||
pub mod access; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[toolchain] | ||
channel = "1.63.0" | ||
components = ["rustfmt", "clippy"] |