Skip to content

Commit 0c940ee

Browse files
committed
chore: add gingembre
1 parent 5b209e4 commit 0c940ee

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

crates/git-template/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ description = "Create new Git repositories using other repositories as templates
99
[dependencies]
1010
clap = { workspace = true }
1111
clap_mangen = { workspace = true }
12+
gingembre = { git = "https://github.com/bearcove/dodeca", version = "0.6.1" }
1213
git-vendor = { version = "0.2.0", path = "../../../git-vendor/crates/git-vendor" }
1314
git2 = { workspace = true }
1415

crates/git-template/src/lib.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
11
//! Template repository support for Git.
2+
3+
use git_vendor::Vendor as _;
4+
5+
use git2::Error;
6+
7+
type Result<T = ()> = std::result::Result<T, Error>;
8+
9+
/// Temp.
10+
pub trait TemplateRepository {
11+
fn from_template() -> Result {
12+
Ok(())
13+
}
14+
}

0 commit comments

Comments
 (0)