From 4575478d953fae3068959feef80517cafc826fea Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 13 Jun 2020 15:00:46 -0700 Subject: copy codegen rust openapi client from fatcat repo --- rust/fatcat-openapi/.cargo/config | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 rust/fatcat-openapi/.cargo/config (limited to 'rust/fatcat-openapi/.cargo/config') diff --git a/rust/fatcat-openapi/.cargo/config b/rust/fatcat-openapi/.cargo/config new file mode 100644 index 0000000..b8acc9c --- /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 +] -- cgit v1.2.3