Nick Mathewson
79d9eac58c
Add unnecessary_wraps to the big warning list.
2021-08-06 16:20:37 -04:00
Nick Mathewson
ac962a7665
Remove spurious "exit 0"
2021-08-04 16:04:24 -04:00
Nick Mathewson
7c9373a32f
Add my "fuzz everything" script that I like to run overnight
2021-08-04 15:59:36 -04:00
Nick Mathewson
99e0c1789b
Add a shell script to verify that every package has an okay license.
...
We implement this by giving a list of permitted licenses, and then
using cargo-license to dump everything's actual license. Since
packages list their licenses as "x OR y OR z", we permit any package
that is available under at least one license on the allow-list.
2021-07-06 15:03:44 -04:00
YUAN LYU
92dbf20a76
Add clippy warn needless pass by value
2021-06-21 23:27:19 -04:00
YUAN LYU
b830e81b7f
Add clippy warn needless borrow
2021-06-21 21:34:40 -04:00
Nick Mathewson
62ee7f4acd
Note a couple of more desired warnings.
2021-06-17 08:28:55 -04:00
Nick Mathewson
2102d2e2b5
Add noop_method_call warning.
...
This would have saved ahf and me a lot of confusion in debugging a
situation where we were cloning a reference of a type that didn't
implement Clone.
2021-05-27 14:32:29 -04:00
Nick Mathewson
ac4786a6c2
Add a script with the command I've been using for coverage
2021-05-26 10:46:17 -04:00
Nick Mathewson
745c90e92c
Enable cargo_common_metadata warning.
2021-05-25 15:42:47 -04:00
Nick Mathewson
3558af4321
Add a script to use cargo-readme to update all per-crate README.md files.
2021-05-21 08:59:36 -04:00
Nick Mathewson
411e1b35e0
Add the "unreachable_pub" lint.
...
This is a somewhat obnoxious change in its scope and requirements,
but it makes it easier to understand what the real public and
private parts of our APIs are.
2021-05-18 13:45:39 -04:00
Nick Mathewson
4507f44b54
Add the little script I use to add warnings to crates.
2021-05-18 09:31:49 -04:00