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
[workspace]
resolver = "3"
members = ["crates/gitv-core", "crates/gitv", "crates/gitv-web"]
[workspace.package]
version = "0.3.0"
edition = "2024"
license = "AGPL-3.0-or-later"
# One version of each dependency for the whole workspace; each crate names only what it uses,
# so building the SSH tool never compiles the web server's dependencies.
[workspace.dependencies]
gitv-core = { path = "crates/gitv-core" }
argon2 = "0.6.0"
askama = { version = "0.16.1", default-features = false, features = ["derive", "std"] }
axum = "0.8.9"
base64 = "0.23.1"
clap = { version = "4.6.9", features = ["derive"] }
data-encoding = "2.11.1"
flate2 = "1.1.11"
futures-util = { version = "0.3.34", default-features = false, features = ["std"] }
getrandom = "0.4.3"
hmac = "0.13.0"
html-escape = "0.3.1"
nix = { version = "0.32.0", features = ["user", "fs", "dir", "resource", "hostname", "process"] }
pulldown-cmark = { version = "0.13.6", default-features = false, features = ["html"] }
qrcode = { version = "0.15.0", default-features = false }
rpassword = "7.5.5"
serde = { version = "1.0.229", features = ["derive"] }
sha1 = "0.11.0"
sha2 = "0.11.1"
shlex = "2.0.1"
subtle = "2.6.1"
syntect = { version = "5.3.0", default-features = false, features = ["default-syntaxes", "html", "regex-onig"] }
thiserror = "2.0.21"
tokio = { version = "1.54.1", features = ["rt-multi-thread", "macros", "net", "sync", "io-util", "process", "time", "signal"] }
[profile.release]
lto = "thin"
codegen-units = 1
# Password hashing is deliberately slow; unoptimised it makes debug builds and tests crawl.
[profile.dev.package.argon2]
opt-level = 3
[profile.dev.package.blake2]
opt-level = 3