rust: add clippy configuration file
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Feb 2025 11:26:12 +0000 (12:26 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Feb 2025 14:51:01 +0000 (15:51 +0100)
Configure the minimum supported Rust version (though strictly speaking
that's redundant with Cargo.toml), and the list of CamelCase identifiers
that are not Rust types.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/clippy.toml [new file with mode: 0644]

diff --git a/rust/clippy.toml b/rust/clippy.toml
new file mode 100644 (file)
index 0000000..5d190f9
--- /dev/null
@@ -0,0 +1,2 @@
+doc-valid-idents = ["PrimeCell", ".."]
+msrv = "1.63.0"