fabrica

hanna/fabrica

1503 bytes
Raw
1[package]
2name = "git"
3description = "Git object reads, attribute resolution, signatures, and pack-transport spawning."
4version.workspace = true
5edition.workspace = true
6rust-version.workspace = true
7license.workspace = true
8authors.workspace = true
9repository.workspace = true
10publish.workspace = true
11
12[dependencies]
13model = { workspace = true }
14git2 = { workspace = true }
15globset = { workspace = true }
16moka = { workspace = true }
17ssh-key = { workspace = true }
18pgp = { workspace = true }
19# Async subprocess spawning for pack transport (clone/fetch/push). One code path
20# shared by the HTTP (web) and SSH transports.
21tokio = { workspace = true }
22thiserror = { workspace = true }
23# Pin the libgit2 bindings to a build that requires libgit2 <= the version
24# nixpkgs ships (1.9.4). git2 0.20's default libgit2-sys (0.18.7, bundling 1.9.6)
25# demands >= 1.9.6 and fails against the system lib under LIBGIT2_NO_VENDOR. This
26# is a direct pin, not used in code — bump it when nixpkgs bumps libgit2. See
27# docs/decisions.md.
28libgit2-sys = "=0.18.3"
29
30[dev-dependencies]
31tempfile = { workspace = true }
32# Random key generation for the SSH signature fixtures (PrivateKey::random).
33rand_core = { workspace = true }
34
35[features]
36# Build libgit2 from source and link it statically, so the runtime image needs no
37# system libgit2. Used by the Dockerfile (`--features vendored`); the Nix build
38# uses the system libgit2 instead (LIBGIT2_NO_VENDOR=1).
39vendored = ["git2/vendored-libgit2"]
40
41[lints]
42workspace = true