mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-15 16:00:35 +08:00
git-commit: remove dependency on git-trailers
The git-trailers crate depends on parsing logic using nom. This is a heavy dependency for something that can be done using git2. Remove the dependency of git-trailers in git-commit and localise the trailer types -- using git2 to parse the trailers out of the git commit message. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
@@ -8,7 +8,7 @@ authors = [
|
||||
"Fintan Halpenny <fintan.halpenny@gmail.com>",
|
||||
]
|
||||
description = "A small library for parsing, displaying and creating a git commit"
|
||||
keywords = ["git", "radicle"]
|
||||
keywords = ["git", "git-commit", "git-trailers", "radicle"]
|
||||
|
||||
[dependencies]
|
||||
thiserror = "1"
|
||||
@@ -17,7 +17,3 @@ thiserror = "1"
|
||||
version = "0.16.1"
|
||||
default-features = false
|
||||
features = ["vendored-libgit2"]
|
||||
|
||||
[dependencies.git-trailers]
|
||||
version = "0.1.0"
|
||||
path = "../git-trailers"
|
||||
|
||||
Reference in New Issue
Block a user