Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (83 loc) · 2.11 KB
/
Copy pathCargo.toml
File metadata and controls
88 lines (83 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[workspace]
members = [".", "xx", "clx", "ensembler"]
resolver = "2"
[package]
name = "hk"
version = "1.18.3"
edition = "2024"
description = "A tool for managing git hooks"
license = "MIT"
repository = "https://github.com/jdx/hk"
documentation = "https://hk.jdx.dev"
homepage = "https://hk.jdx.dev"
include = [
"/src/**/*",
"/Cargo.toml",
"/Cargo.lock",
"/README.md",
"/LICENSE",
"/CHANGELOG.md",
"/pkl",
"/build/**/*",
"/settings.toml",
]
build = "build/mod.rs"
rust-version = "1.85"
[dependencies]
arc-swap = "1"
chrono = "0.4"
clap = { version = "4", features = ["derive"] }
clap_usage = "2"
clx = { path = "clx" }
color-eyre = "0.6"
console = "0.16"
dashmap = "6.1.0"
dirs = "6"
ensembler = { path = "ensembler" }
expr-lang = { version = "0.3.0", features = ["serde"] }
eyre = "0.6"
getrandom = "0.3"
git2 = { version = "0.20", features = ["vendored-libgit2"] }
globset = "0.4"
indexmap = { version = "2", features = ["serde"] }
itertools = "0.14"
libc = "0.2"
log = "0.4"
once_cell = "1"
regex = "1"
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
serde_with = "3"
serde_yaml = "0.9"
shell-quote = "0.7"
similar = "2"
siphasher = "1"
strum = { version = "0.27", features = ["derive"] }
tempfile = "3"
tera = "1"
thiserror = "2"
tokio = { version = "1", features = ["full", "rt-multi-thread"] }
tokio-util = "0.7"
toml = "0.9"
tracing = "0.1"
tracing-error = "0.2"
tracing-log = "0.2"
tracing-serde = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "fmt"] }
which = "8"
xx = { path = "xx", features = ["http", "hash", "rustls"] }
[build-dependencies]
toml = "0.9"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
indexmap = { version = "2", features = ["serde"] }
codegen = "0.2"
[profile.serious]
inherits = "release"
lto = true
[package.metadata.release]
pre-release-hook = ["mise", "run", "pre-release", "--version", "{{version}}"]
pre-release-replacements = [
{file="pkl/Config.pkl", search='min_hk_version = ".*"', replace='min_hk_version = "{{version | truncate(length=1)}}.0.0"'},
]