mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-10-24 22:00:38 +08:00
This provides a port of the librad::git::storage[0] API, with a focus on being more generic and decomposing writing and reading operations. It also takes heavy inspiration from link_replication::io::refdb[1] for its implementation of the transactional writes. [0]: https://github.com/radicle-dev/radicle-link/blob/master/librad/src/git/storage.rs [1]: https://github.com/radicle-dev/radicle-link/blob/master/link-replication/src/io/refdb.rs Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
39 lines
768 B
TOML
39 lines
768 B
TOML
[package]
|
|
name = "git-storage"
|
|
version = "0.1.0"
|
|
authors = ["Kim Altintop <kim@eagain.st>", "Fintan Halpenny <fintan.halpenny@gmail.com>"]
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1"
|
|
globset = "0.4"
|
|
libc = "0.2"
|
|
parking_lot = "0.12"
|
|
thiserror = "1"
|
|
either = "1.8.0"
|
|
|
|
[dependencies.deadpool]
|
|
version = "0.7"
|
|
default-features = false
|
|
features = ["managed"]
|
|
|
|
[dependencies.git2]
|
|
version = "0.15.0"
|
|
default-features = false
|
|
features = ["vendored-libgit2"]
|
|
|
|
[dependencies.git-ref-format]
|
|
path = "../git-ref-format"
|
|
|
|
[dependencies.libgit2-sys]
|
|
version = ">= 0.12.24"
|
|
default-features = false
|
|
features = ["vendored"]
|
|
|
|
[dependencies.radicle-git-ext]
|
|
path = "../radicle-git-ext"
|
|
|
|
[dependencies.radicle-std-ext]
|
|
path = "../radicle-std-ext"
|