Update flake and deps, continue implementing basic structure

This commit is contained in:
2026-01-16 11:16:56 +09:00
parent 7cf082535e
commit 0b9a7debd3
12 changed files with 2844 additions and 93 deletions

11
src/sources/forgejo.rs Normal file
View File

@@ -0,0 +1,11 @@
pub struct KagamiSourceForgejo {
host: String,
}
impl KagamiSourceForgejo {
pub fn new(host: &str) -> Self {
Self {
host: host.to_string(),
}
}
}

11
src/sources/git.rs Normal file
View File

@@ -0,0 +1,11 @@
pub struct KagamiSourceGit {
host: String,
}
impl KagamiSourceGitea {
pub fn new(host: &str) -> Self {
Self {
host: host.to_string(),
}
}
}

11
src/sources/gitea.rs Normal file
View File

@@ -0,0 +1,11 @@
pub struct KagamiSourceGitea {
host: String,
}
impl KagamiSourceGitea {
pub fn new(host: &str) -> Self {
Self {
host: host.to_string(),
}
}
}

11
src/sources/github.rs Normal file
View File

@@ -0,0 +1,11 @@
pub struct KagamiSourceGithub {
host: String,
}
impl KagamiSourceGithub {
pub fn new(host: &str) -> Self {
Self {
host: host.to_string(),
}
}
}

11
src/sources/gitlab.rs Normal file
View File

@@ -0,0 +1,11 @@
pub struct KagamiSourceGitlab {
host: String,
}
impl KagamiSourceGitlab {
pub fn new(host: &str) -> Self {
Self {
host: host.to_string(),
}
}
}