Files
radicle-git/radicle-git-ext/Cargo.toml
T
Fintan Halpenny 0728ee1f66 radicle-git-ext: remove multihash and minicbor
Multihash was deemed as not needed for compatibility since it is
possible to detect a change from SHA1 to SHA256 based on their encoded
lengths. The YAGNI principle is executed and multihash (and minicbor
while we're here) are removed.

This also had an effect on `Urn` which relied heavily on encoding the
value using multihash. The `urn` and `namespace` modules were removed
from radicle-git-types, since they were likely not going to be used
anyway.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2022-11-04 12:25:02 +00:00

38 lines
700 B
TOML

[package]
name = "radicle-git-ext"
version = "0.2.0"
authors = [
"Kim Altintop <kim@eagain.st>",
"Fintan Halpenny <fintan.halpenny@gmail.com",
]
edition = "2021"
license = "GPL-3.0-or-later"
description = "Utilities and extensions to the git2 crate"
keywords = ["git", "radicle"]
[lib]
doctest = false
test = false
[dependencies]
percent-encoding = "2"
thiserror = "1"
[dependencies.git2]
version = "0.15.0"
default-features = false
features = ["vendored-libgit2"]
[dependencies.git-ref-format]
version = "0.1.0"
path = "../git-ref-format"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.radicle-std-ext]
version = "0.1.0"
path = "../radicle-std-ext"