diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 74a6d25..011be18 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,3 +33,7 @@ repos: - id: fmt - id: check - id: clippy +- repo: https://github.com/ComPWA/taplo-pre-commit + rev: v0.9.3 + hooks: + - id: taplo-format diff --git a/Cargo.toml b/Cargo.toml index ddba9bc..d1ae31b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,15 +8,18 @@ license = "Apache-2.0" authors = ["Eir Nym "] repository = "https://github.com/eirtools/sqlgrep" - [dependencies] -sqlx = { version = "0.8.4", features = ["runtime-tokio-native-tls", "sqlite", "chrono"]} -tokio = { version = "1.44.2", features = ["macros", "rt-multi-thread"]} -sqlparser = "0.55.0" -chrono = {version = "0.4.40", features = ["alloc"]} -log = "0.4.27" -futures = {version = "0.3.31", features = ["async-await"]} +sqlx = { version = "=0.8.3", features = [ + "runtime-tokio-native-tls", + "sqlite", + "chrono", +] } +tokio = { version = "1.44.2", features = ["macros", "rt-multi-thread"] } +sqlparser = { version = "=0.55.0" } +chrono = { version = "=0.4.40", features = ["alloc"] } +log = { version = "0.4.27" } +futures = { version = "=0.3.31", features = ["async-await"] } clap = { version = "4.5.36", features = ["derive", "wrap_help"] } -indoc = "2.0.6" -stderrlog ="0.6.0" -regex = "1.11.1" +indoc = { version = "2.0.6" } +stderrlog = { version = "=0.6.0" } +regex = { version = "1.11.1" }