#github #token #http

create-github-app-token

This library makes easier to publish GitHub App token

4 stable releases

Uses new Rust 2021

2.0.0 Feb 10, 2022
1.0.3 Dec 12, 2021

#324 in Web programming

28 downloads per month

MIT license

10KB
182 lines

create-github-app-token

crates.io docs.rs License

This library makes easier to publish GitHub App token.

Usage

use create_github_app_token::{errors::Error, publish_token, Token};

async fn fetcher() -> std::result::Result<Token, Error> {
  let token = publish_token(123456, "/home/github/key.pem", "github").await?;

  Ok(token)
}

Dependencies

~15MB
~365K SLoC