Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
git2-metadata: New crate
Lorenz Leutgeb committed 7 months ago
commit 58cccd47b823d33fea94bc08682c296e90b30afb
parent 1d6a1c077cc918d533397300ecbcc579936a4cd1
4 files changed +40 -0
modified Cargo.lock
@@ -2958,6 +2958,13 @@ dependencies = [
]

[[package]]
+
name = "radicle-git2-metadata"
+
version = "0.1.0"
+
dependencies = [
+
 "radicle-git-ext",
+
]
+

+
[[package]]
name = "radicle-node"
version = "0.15.0"
dependencies = [
modified Cargo.toml
@@ -50,6 +50,7 @@ radicle-dag = { version = "0.10", path = "crates/radicle-dag" }
radicle-fetch = { version = "0.15", path = "crates/radicle-fetch" }
radicle-git-ext = { version = "0.8", default-features = false }
radicle-git-ref-format = { version = "0.1.0", path = "crates/radicle-git-ref-format", default-features = false }
+
radicle-git2-metadata = { version = "0.1.0", path = "crates/radicle-git2-metadata", default-features = false }
radicle-node = { version = "0.15", path = "crates/radicle-node" }
radicle-oid = { version = "0.1.0", path = "crates/radicle-oid", default-features = false }
radicle-protocol = { version = "0.3", path = "crates/radicle-protocol" }
added crates/radicle-git2-metadata/Cargo.toml
@@ -0,0 +1,16 @@
+
[package]
+
name = "radicle-git2-metadata"
+
description = "Radicle re-exports for metadata structs from `radicle-git-ext`"
+
homepage.workspace = true
+
repository.workspace = true
+
version = "0.1.0"
+
edition.workspace = true
+
license.workspace = true
+
keywords = ["radicle", "git", "metadata"]
+
rust-version.workspace = true
+

+
[features]
+
serde = ["radicle-git-ext/serde"]
+

+
[dependencies]
+
radicle-git-ext = { workspace = true }

\ No newline at end of file
added crates/radicle-git2-metadata/src/lib.rs
@@ -0,0 +1,16 @@
+
pub mod author {
+
    pub use radicle_git_ext::author::{Author, Time};
+
}
+

+
pub mod commit {
+
    pub use radicle_git_ext::commit::Commit;
+
    pub mod headers {
+
        pub use radicle_git_ext::commit::headers::{Headers, Signature};
+
    }
+
    pub mod trailers {
+
        pub use radicle_git_ext::commit::trailers::{OwnedTrailer, Token, Trailer};
+
    }
+
    pub mod error {
+
        pub use radicle_git_ext::commit::error::{Read, Write};
+
    }
+
}