-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
82 lines (74 loc) · 2.63 KB
/
Cargo.toml
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
[package]
name = "hanko"
description = "Keeps your Git allowed signers file up to date with signing keys configured on software development platforms like GitHub and GitLab."
version = "0.5.3"
keywords = ["git", "ssh", "security", "encryption"]
categories = [
"authentication",
"command-line-utilities",
"cryptography",
"development-tools",
]
edition = "2021"
authors = ["Marvin Vogt <[email protected]>"]
license = "MIT"
homepage = "https://github.com/srv6d/hanko"
repository = "https://github.com/srv6d/hanko"
readme = "README.md"
exclude = [".devcontainer", ".github", "doc/benchmark/**", "tests/**"]
[dependencies]
anyhow = "1.0.95"
async-trait = "0.1.83"
chrono = "0.4.39"
clap = { version = "4.5.23", features = ["derive", "env", "string"] }
toml_edit = { version = "0.22.22", features = ["serde"] }
gix-config = { version = "0.42.0", optional = true }
reqwest = { version = "0.12.12", default-features = false, features = [
"json",
"rustls-tls-native-roots",
"gzip",
"zstd",
"http2",
"macos-system-configuration", # only inclued for macOS
] }
serde = { version = "1.0.217", features = ["derive"] }
thiserror = "2.0.7"
tokio = { version = "1.42.0", features = ["rt-multi-thread", "macros"] }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
[dev-dependencies]
assert_cmd = "=2.0.16"
predicates = "=3.1.3"
codspeed-criterion-compat = "=2.7.2"
criterion = "=0.5.1"
httpmock = "=0.7.0"
indoc = "=2.0.5"
proptest = "=1.6.0"
rstest = "=0.23.0"
serde_json = "=1.0.133"
tempfile = "=3.14.0"
reqwest = { version = "=0.12.12", default-features = false, features = ["blocking"] }
[build-dependencies]
vergen-gix = { version = "1.0.3", features = ["cargo", "rustc"] }
[package.metadata.deb]
assets = [
{ source = "target/release/hanko", dest = "/usr/bin/", mode = "755"},
{ source = "README.md", dest = "/usr/share/doc/hanko/", mode = "644"},
{ source = "assets/completions/hanko.bash", dest = "/usr/share/bash-completion/completions/hanko", mode = "644"},
{ source = "assets/completions/_hanko", dest = "/usr/share/zsh/vendor-completions/", mode = "644"},
{ source = "assets/completions/hanko.fish", dest = "/usr/share/fish/vendor_completions.d/", mode = "644"},
{ source = "assets/completions/hanko.elv", dest = "/usr/share/elvish/lib/", mode = "644"},
{ source = "assets/manpages/*", dest = "/usr/share/man/man1/", mode = "644"},
]
[features]
default = ["detect-allowed-signers"]
detect-allowed-signers = ["dep:gix-config"]
[[bench]]
name = "write_allowed_signers"
harness = false
[[bench]]
name = "load_configuration"
harness = false
[profile.release]
lto = true
panic = "abort"