aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat-openapi/.cargo/config
blob: b8acc9c00c8c35a0827e2fdfd6e9501d84daec9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
]