Files
radicle-git/git-commit/Cargo.toml
T
Fintan Halpenny ab05b63614 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
2023-02-14 15:34:32 +00:00

20 lines
470 B
TOML

[package]
name = "git-commit"
version = "0.3.0"
license = "MIT OR Apache-2.0"
edition = "2021"
authors = [
"Alexis Sellier <alexis@radicle.xyz>",
"Fintan Halpenny <fintan.halpenny@gmail.com>",
]
description = "A small library for parsing, displaying and creating a git commit"
keywords = ["git", "git-commit", "git-trailers", "radicle"]
[dependencies]
thiserror = "1"
[dependencies.git2]
version = "0.16.1"
default-features = false
features = ["vendored-libgit2"]