diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ad3bc0c254..83e3e688e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,6 +8,8 @@ repos: name: "Rust (clippy)" args: [ + "--tests", + "--examples", "--", "-Dwarnings", ] diff --git a/Cargo.toml b/Cargo.toml index b2e2a89097..8c601e1869 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ candle-kernels = { path = "kernels", optional = true } anyhow = "1" clap = { version = "4.2.4", features = ["derive"] } rand = "0.8.5" -tokenizers = "0.13.3" +tokenizers = { version = "0.13.3", default-features=false, features=["onig"] } [features] default = []