github_auth 0.4.0

Authenticate with GitHub from the command line.
Documentation
1
2
3
4
5
6
7
8
9
extern crate github_auth;

use github_auth::Authenticator;

fn main() {
  let auth = Authenticator::default();
  let creds = auth.auth().unwrap();
  println!("{:?}", creds);
}