mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
f0b7daeec6
* rename rust2 to rust-server * update rust-server batch file to use petstore test spec
19 lines
616 B
Plaintext
19 lines
616 B
Plaintext
[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
|
|
]
|