diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 0000000..1c385d1 --- /dev/null +++ b/clippy.toml @@ -0,0 +1 @@ +doc-valid-idents = ["LDAP", ".."] diff --git a/src/main.rs b/src/main.rs index 109c641..198eec2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,6 +16,9 @@ along with this program. If not, see . */ +#![warn(clippy::pedantic, clippy::as_conversions)] +#![forbid(unsafe_code)] + fn main() { println!("Hello, world!"); }