From 569c0b5be71a2df7b11b2bbdebcfa3fafb5340e4 Mon Sep 17 00:00:00 2001 From: BlackDex Date: Sun, 5 Oct 2025 17:22:36 +0200 Subject: [PATCH] Update typos and remove mimalloc check from pre-commit checks Signed-off-by: BlackDex --- .github/workflows/typos.yml | 2 +- .pre-commit-config.yaml | 6 +++--- Cargo.toml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index fd58005f..18fa0966 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -19,4 +19,4 @@ jobs: # When this version is updated, do not forget to update this in `.pre-commit-config.yaml` too - name: Spell Check Repo - uses: crate-ci/typos@40156d6074bf731adb169cfb8234954971dbc487 # v1.37.1 + uses: crate-ci/typos@7436548694def3314aacd93ed06c721b1f91ea04 # v1.37.2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f0ab121..27d743f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: description: Test the package for errors. entry: cargo test language: system - args: ["--features", "sqlite,mysql,postgresql,enable_mimalloc", "--"] + args: ["--features", "sqlite,mysql,postgresql", "--"] types_or: [rust, file] files: (Cargo.toml|Cargo.lock|rust-toolchain.toml|rustfmt.toml|.*\.rs$) pass_filenames: false @@ -38,7 +38,7 @@ repos: description: Lint Rust sources entry: cargo clippy language: system - args: ["--features", "sqlite,mysql,postgresql,enable_mimalloc", "--", "-D", "warnings"] + args: ["--features", "sqlite,mysql,postgresql", "--", "-D", "warnings"] types_or: [rust, file] files: (Cargo.toml|Cargo.lock|rust-toolchain.toml|rustfmt.toml|.*\.rs$) pass_filenames: false @@ -52,6 +52,6 @@ repos: - "cd docker && make" # When this version is updated, do not forget to update this in `.github/workflows/typos.yaml` too - repo: https://github.com/crate-ci/typos - rev: 40156d6074bf731adb169cfb8234954971dbc487 # v1.37.1 + rev: 7436548694def3314aacd93ed06c721b1f91ea04 # v1.37.2 hooks: - id: typos diff --git a/Cargo.toml b/Cargo.toml index 730fe51e..29ae228c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -215,6 +215,7 @@ lto = "fat" codegen-units = 1 debug = false + # Optimize for size [profile.release-micro] inherits = "release"