[package]
edition = "2021"
rust-version = "1.88"
name = "alkgit-substrate"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The shipped alkgit backend composition: the reactive alkstore + alkblobs backend implementing alkgit's backend seam — reactive halves, cached read provider, engine twins, migrations, GC wiring, and the LFS surface (ADR-019/025)"
readme = "README.md"
keywords = [
"git",
"protocol",
"alkcall",
"vcs",
"database",
]
categories = [
"network-programming",
"asynchronous",
"database",
]
license = "MIT OR Apache-2.0"
repository = "https://git.alk.dev/alkdev/alkgit"
[features]
default = [
"sqlite",
"lfs",
]
lfs = [
"dep:alkcall",
"alkblobs/ops",
]
postgres = [
"dep:alkstore-postgres",
"dep:tokio-postgres",
"alkblobs/postgres",
]
sqlite = [
"dep:alkstore-sqlite",
"dep:rusqlite",
]
[lib]
name = "alkgit_substrate"
path = "src/lib.rs"
[[test]]
name = "oq19_positive_acks"
path = "tests/oq19_positive_acks.rs"
[[test]]
name = "real_git"
path = "tests/real_git.rs"
[[test]]
name = "real_lfs"
path = "tests/real_lfs.rs"
[[test]]
name = "replication"
path = "tests/replication.rs"
[dependencies.alkblobs]
version = "0.2"
[dependencies.alkcall]
version = "0.10"
optional = true
[dependencies.alkgit]
version = "0.1.0"
[dependencies.alkstore]
version = "0.1"
[dependencies.alkstore-postgres]
version = "0.1"
optional = true
[dependencies.alkstore-sqlite]
version = "0.1"
optional = true
[dependencies.async-trait]
version = "0.1"
[dependencies.gix-error]
version = "0.5"
[dependencies.gix-fsck]
version = "0.27"
features = ["sha1"]
[dependencies.gix-hash]
version = "0.28"
features = ["sha1"]
[dependencies.gix-object]
version = "0.66"
features = ["sha1"]
[dependencies.gix-pack]
version = "0.76"
features = [
"generate",
"parallel",
"sha1",
"streaming-input",
]
default-features = false
[dependencies.gix-parallel]
version = "0.50"
features = ["parallel"]
default-features = false
[dependencies.gix-traverse]
version = "0.63"
features = ["sha1"]
[dependencies.gix-utils]
version = "0.5"
features = ["progress"]
[dependencies.gix-validate]
version = "0.13"
[dependencies.gix-zlib]
version = "0.3"
[dependencies.parking_lot]
version = "0.12"
[dependencies.rusqlite]
version = "0.40"
features = ["bundled"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"sync",
"io-util",
"macros",
"time",
"fs",
]
default-features = false
[dependencies.tokio-postgres]
version = "0.7"
optional = true
[dev-dependencies.alkcall]
version = "0.10"
[dev-dependencies.alkstore-mem]
version = "0.1"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
"macros",
]