[package]
edition = "2024"
name = "jj-hooks"
version = "0.3.3"
authors = ["Matt Wilkinson <mattwilki17@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Run pre-commit / lefthook / hk hooks against jj bookmark pushes"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/mattwilkinsonn/zireael"
[package.metadata.binstall]
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.x86_64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/jj-hooks-v{ version }-linux-x64.tar.gz"
bin-dir = "jj-hooks-v{ version }-linux-x64/{ bin }{ binary-ext }"
[package.metadata.binstall.overrides.aarch64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/jj-hooks-v{ version }-linux-arm64.tar.gz"
bin-dir = "jj-hooks-v{ version }-linux-arm64/{ bin }{ binary-ext }"
[package.metadata.binstall.overrides.aarch64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/jj-hooks-v{ version }-darwin-arm64.tar.gz"
bin-dir = "jj-hooks-v{ version }-darwin-arm64/{ bin }{ binary-ext }"
[lib]
name = "jj_hooks"
path = "src/lib.rs"
[[bin]]
name = "jj-hooks"
path = "src/main.rs"
[[bin]]
name = "jj-hp"
path = "src/bin/jj-hp.rs"
[[test]]
name = "all_files"
path = "tests/all_files.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "completions"
path = "tests/completions.rs"
[[test]]
name = "init"
path = "tests/init.rs"
[[test]]
name = "parse"
path = "tests/parse.rs"
[[test]]
name = "push"
path = "tests/push.rs"
[[test]]
name = "push_tags"
path = "tests/push_tags.rs"
[[test]]
name = "runner"
path = "tests/runner.rs"
[[test]]
name = "runner_resolution_real"
path = "tests/runner_resolution_real.rs"
[[test]]
name = "setup"
path = "tests/setup.rs"
[[test]]
name = "version"
path = "tests/version.rs"
[[test]]
name = "workspace"
path = "tests/workspace.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.clap]
version = "4.6.1"
features = [
"derive",
"env",
]
[dependencies.clap_complete]
version = "4.6.5"
features = ["unstable-dynamic"]
[dependencies.dialoguer]
version = "0.12.0"
default-features = false
[dependencies.regex]
version = "1.12.3"
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.tempfile]
version = "3.27.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.toml]
version = "1.1.2"
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]
[dev-dependencies.indoc]
version = "2.0.6"