From 34a67018b45cdf4fe4e483a854c820f47c1d89bc Mon Sep 17 00:00:00 2001 From: Lei Xu Date: Wed, 4 Dec 2024 14:21:13 -0800 Subject: [PATCH] add clippy rules --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 3c7d49c..62b0e73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "ocra" version = "0.1.0" authors = ["dev@lancedb.com"] +repository = "https://github.com/lancedb/ocra" description = "OCRA: A Rust implementation of Cache in arrow-rs' ObjectStore interface" edition = "2021" license-file = "LICENSE" @@ -28,3 +29,10 @@ rand = "~0.8" [[bench]] name = "memory" harness = false + +[lints.clippy] +all = { level = "deny", priority = -1 } +style = { level = "deny", priority = -1 } +perf = { level = "deny", priority = -1 } +cargo = { level = "deny", priority = -1 } +multiple-crate-versions = "allow"