mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-10-25 14:20:31 +08:00
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
40 lines
747 B
TOML
40 lines
747 B
TOML
[package]
|
|
name = "radicle-git-types"
|
|
version = "0.1.0"
|
|
authors = ["Kim Altintop <kim@eagain.st>", "Fintan Halpenny <fintan.halpenny@gmail.com>"]
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lib]
|
|
doctest = false
|
|
test = false
|
|
|
|
[dependencies]
|
|
lazy_static = "1.4"
|
|
multibase = "0.9"
|
|
percent-encoding = "2"
|
|
thiserror = "1.0.30"
|
|
tracing = "0.1"
|
|
|
|
[dependencies.git2]
|
|
version = "0.15.0"
|
|
default-features = false
|
|
features = ["vendored-libgit2"]
|
|
|
|
[dependencies.minicbor]
|
|
version = "0.13"
|
|
features = ["std", "derive"]
|
|
|
|
[dependencies.radicle-git-ext]
|
|
path = "../radicle-git-ext"
|
|
|
|
[dependencies.radicle-macros]
|
|
path = "../radicle-macros"
|
|
|
|
[dependencies.radicle-std-ext]
|
|
path = "../radicle-std-ext"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|