[[bin]]
name = "pre-commit"
path = "src/main.rs"
[dependencies.anstream]
version = "0.6.15"
[dependencies.anyhow]
version = "1.0.86"
[dependencies.assert_cmd]
features = ["color"]
version = "2.0.16"
[dependencies.axoupdater]
version = "0.8.1"
[dependencies.clap]
features = ["derive", "env"]
version = "4.5.16"
[dependencies.clap_complete]
version = "4.5.37"
[dependencies.ctrlc]
version = "3.4.5"
[dependencies.dunce]
version = "1.0.5"
[dependencies.fancy-regex]
version = "0.14.0"
[dependencies.fs-err]
version = "2.11.0"
[dependencies.fs2]
version = "0.4.3"
[dependencies.futures]
version = "0.3.31"
[dependencies.home]
version = "0.5.9"
[dependencies.http]
version = "1.1.0"
[dependencies.indicatif]
version = "0.17.8"
[dependencies.indoc]
version = "2.0.5"
[dependencies.itertools]
version = "0.13.0"
[dependencies.owo-colors]
version = "4.1.0"
[dependencies.rand]
version = "0.8.5"
[dependencies.rayon]
version = "1.10.0"
[dependencies.rusqlite]
features = ["bundled"]
version = "0.32.1"
[dependencies.serde]
features = ["derive"]
version = "1.0.210"
[dependencies.serde_yaml]
version = "0.9.34"
[dependencies.shlex]
version = "1.3.0"
[dependencies.tempfile]
version = "3.13.0"
[dependencies.thiserror]
version = "1.0.64"
[dependencies.tokio]
features = ["process", "rt", "sync"]
version = "1.40.0"
[dependencies.tracing]
version = "0.1.40"
[dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3.18"
[dependencies.unicode-width]
version = "0.2.0"
[dependencies.url]
features = ["serde"]
version = "2.5.2"
[dependencies.which]
version = "6.0.3"
[dev-dependencies.assert_fs]
version = "1.1.2"
[dev-dependencies.etcetera]
version = "0.8.0"
[dev-dependencies.insta]
features = ["filters"]
version = "1.40.0"
[dev-dependencies.insta-cmd]
version = "0.6.0"
[dev-dependencies.predicates]
version = "3.1.2"
[dev-dependencies.regex]
version = "1.11.0"
[lints.clippy]
char_lit_as_u8 = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
dbg_macro = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
get_unwrap = "warn"
implicit_hasher = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
used_underscore_binding = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -2
[lints.rust]
dead_code = "allow"
[package]
authors = ["j178 <hi@j178.dev>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "pre-commit implemeneted in Rust"
edition = "2021"
homepage = "https://github.com/j178/pre-commit-rs"
license-file = "LICENSE"
name = "pre-commit-rs"
readme = "README.md"
repository = "https://github.com/j178/pre-commit-rs"
version = "0.0.2"
[package.metadata.dist]
dist = true
[profile.dist]
inherits = "release"
lto = "thin"
[[test]]
name = "clean"
path = "tests/clean.rs"
[[test]]
name = "hook_impl"
path = "tests/hook_impl.rs"
[[test]]
name = "install"
path = "tests/install.rs"
[[test]]
name = "language"
path = "tests/language.rs"
[[test]]
name = "run"
path = "tests/run.rs"
[[test]]
name = "sample_config"
path = "tests/sample_config.rs"
[[test]]
name = "validate"
path = "tests/validate.rs"