-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update fastcrypto version * fix cargo deny according to sui * partial lint fixes * add experimental flag * remove unused test * remove bench * Avoid type bound on multiple locations --------- Co-authored-by: Jonas Lindstrøm <[email protected]>
- Loading branch information
Showing
26 changed files
with
245 additions
and
362 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[alias] | ||
# Collection of project wide clippy lints. This is done via an alias because | ||
# clippy doesn't currently allow for specifiying project-wide lints in a | ||
# configuration file. This is a similar workaround to the ones presented here: | ||
# <https://github.com/EmbarkStudios/rust-ecosystem/issues/59> | ||
xclippy = [ | ||
"clippy", "--all-targets", "--all-features", "--", | ||
"-Wclippy::all", | ||
"-Wclippy::disallowed_methods", | ||
"-Aclippy::unnecessary_get_then_check", | ||
] | ||
xlint = "run --package x --bin x -- lint" | ||
xtest = "run --package x --bin x -- external-crates-tests" | ||
|
||
# Configuration specifically for running clippy on `external-crates/move/`. | ||
# Some of these allows are to avoid code churn; others are filed as issues on the `sui` repo now. | ||
move-clippy = [ | ||
"clippy", | ||
"--all-targets", | ||
"--", | ||
"-Wclippy::all", | ||
"-Wclippy::disallowed_methods", | ||
"-Aclippy::upper_case_acronyms", | ||
"-Aclippy::type_complexity", | ||
"-Aclippy::new_without_default", | ||
"-Aclippy::question_mark", | ||
"-Aclippy::unnecessary_get_then_check", | ||
"-Aclippy::needless_borrows_for_generic_args", | ||
] | ||
|
||
[build] | ||
rustflags = ["-C", "force-frame-pointers=yes", "-C", "force-unwind-tables=yes"] |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.