diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-05 19:04:34 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-05 19:04:34 -0700 |
commit | ba722671b4791524384010705bef0aaa83c22c0b (patch) | |
tree | 9d546b87a36cfa521d8a64ea032948416c9e6314 /rust/fatcat-openapi/.cargo/config | |
parent | a65dfc914517376b5ededb82e594236c5d61c721 (diff) | |
download | fatcat-ba722671b4791524384010705bef0aaa83c22c0b.tar.gz fatcat-ba722671b4791524384010705bef0aaa83c22c0b.zip |
rename rust crate fatcat-api-spec -> fatcat-openapi
Diffstat (limited to 'rust/fatcat-openapi/.cargo/config')
-rw-r--r-- | rust/fatcat-openapi/.cargo/config | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/rust/fatcat-openapi/.cargo/config b/rust/fatcat-openapi/.cargo/config new file mode 100644 index 00000000..b8acc9c0 --- /dev/null +++ b/rust/fatcat-openapi/.cargo/config @@ -0,0 +1,18 @@ +[build] +rustflags = [ + "-W", "missing_docs", # detects missing documentation for public members + + "-W", "trivial_casts", # detects trivial casts which could be removed + + "-W", "trivial_numeric_casts", # detects trivial casts of numeric types which could be removed + + "-W", "unsafe_code", # usage of `unsafe` code + + "-W", "unused_qualifications", # detects unnecessarily qualified names + + "-W", "unused_extern_crates", # extern crates that are never used + + "-W", "unused_import_braces", # unnecessary braces around an imported item + + "-D", "warnings", # all warnings should be denied +] |