-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64b4e09
commit 1ba080f
Showing
10 changed files
with
193 additions
and
113 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Allowed lints | ||
allowed_lints=( | ||
"-A" "renamed_and_removed_lints" | ||
"-A" "clippy::match_bool" | ||
"-A" "clippy::get_unwrap" | ||
"-A" "clippy::new_without_default" | ||
# Added with compiler bump nightly-2019-04-13 | ||
"-A" "clippy::identity-conversion" | ||
# Clippy seems to complain about async functions | ||
"-A" "clippy::needless_lifetimes" | ||
) | ||
|
||
echo "${allowed_lints[@]}" | ||
|
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,23 @@ | ||
check: | ||
cargo check --workspace --all-features --tests --examples --benches | ||
|
||
build: | ||
cargo build --workspace --all-features --tests --examples --benches | ||
|
||
test: | ||
cargo test --workspace --all-features | ||
|
||
clean-package: | ||
cargo clean -p $$(cargo read-manifest | jq -r .name) | ||
|
||
clippy: | ||
cargo clippy --workspace --all-targets --all-features -- -D warnings $$(source ".clippy.args") | ||
|
||
fmt: | ||
cargo +nightly fmt | ||
|
||
audit: | ||
cargo audit --deny-warnings | ||
|
||
.PHONY: | ||
|
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
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
Oops, something went wrong.