You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
453 B
Rust

mod githubctl;
const USERNAME: &'static str = include_str!("../.username");
const TOKEN: &'static str = include_str!("../.pat");
const ORG: &'static str = include_str!("../.org");
const REPO: &'static str = include_str!("../.repo");
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut github = githubctl::GithubCtl::new(USERNAME, TOKEN)?;
github.get_events(ORG, REPO).await?;
println!("done.");
Ok(())
}