added config parsing, and the selection between multiple providers.

This commit is contained in:
2026-07-10 21:03:45 -05:00
parent 4283b1af2a
commit 8348946c3c
9 changed files with 351 additions and 32 deletions
+6
View File
@@ -8,6 +8,12 @@ pub struct Github {
pub username: String,
}
impl Github {
fn new(username: String) -> Self {
Self { username }
}
}
// 1. This struct matches GitHub's exact API shape.
// It remains completely hidden inside your GitHub provider module.
#[derive(Deserialize, Debug)]