anvilsign in

collin/anvil

1[workspace]
2resolver = "2"
3members = [
4 "crates/*",
5 "vendor/gitserver-core",
6]
7
8[workspace.package]
9version = "0.0.0"
10edition = "2024"
11license = "MIT OR Apache-2.0"
12repository = "https://github.com/richardscollin/anvil"
13rust-version = "1.95"
14
15[workspace.dependencies]
16# Internal crates
17anvil-core = { path = "crates/anvil-core" }
18anvil-ci = { path = "crates/anvil-ci" }
19anvil-git = { path = "crates/anvil-git" }
20anvil-web = { path = "crates/anvil-web" }
21anvil-ssh = { path = "crates/anvil-ssh" }
22
23anyhow = "1"
24argon2 = { version = "0.5", features = ["std"] }
25axum = "0.8"
26axum-extra = { version = "0.10", features = ["cookie"] }
27base64 = "0.22"
28bollard = "0.18"
29clap = { version = "4", features = ["derive"] }
30futures-util = "0.3"
31hmac = "0.12"
32lru = "0.12"
33gitserver-core = { path = "vendor/gitserver-core" }
34gix = { version = "0.84", default-features = false, features = ["sha1", "max-performance-safe", "blob-diff", "revision"] }
35gix-pack = { version = "0.71", features = ["sha1"] }
36maud = { version = "0.27", features = ["axum"] }
37rand = "0.10"
38# HTTP client for the CD deploy webhook. No TLS feature on purpose: the deploy
39# receiver is host-local plaintext HTTP, and enabling rustls would drag in
40# aws-lc-rs and break the musl cross-compile (see the russh note below).
41reqwest = { version = "0.12", default-features = false, features = ["json"] }
42serde = { version = "1", features = ["derive"] }
43serde_json = "1"
44serde_yaml = "0.9"
45sha2 = "0.10"
46similar = "2"
47# `default-onig` (C Oniguruma regex engine) over the pure-Rust `default-fancy`:
48# several times faster on large files, and zig's cc cross-compiles the C just
49# fine for the static musl build (verified via deploy/build.sh's toolchain).
50syntect = { version = "5", default-features = false, features = ["default-onig"] }
51tar = "0.4"
52thiserror = "2"
53time = { version = "0.3", features = ["serde", "formatting"] }
54toasty = { version = "0.7", features = ["sqlite"] }
55tokio = { version = "1", features = ["full"] }
56tokio-util = { version = "0.7", features = ["io"] }
57toml = "0.8"
58tower = "0.5"
59tower-http = { version = "0.6", features = ["trace", "fs"] }
60tracing = "0.1"
61tracing-subscriber = { version = "0.3", features = ["env-filter"] }
62
63# ssh — use the `ring` crypto backend instead of the default `aws-lc-rs`:
64# ring is far cheaper to compile (no cmake/perl) and cross-compiles cleanly
65# (zigbuild/musl), which matters for building images for the low-RAM VPS.
66russh = { version = "0.61", default-features = false, features = ["flate2", "ring", "rsa"] }
67# ssh-key parsing/fingerprinting, shared by anvil-core (storage) and anvil-ssh
68# (auth). Pinned to match russh's transitive ssh-key so fingerprints agree.
69ssh-key = "0.7.0-rc.10"