#github #token #http #api-bindings

create-github-app-token

This library makes easier to publish GitHub App token

5 stable releases

2.0.1 Oct 22, 2022
2.0.0 Feb 10, 2022
1.0.3 Dec 12, 2021

#2149 in Web programming

38 downloads per month

MIT license

11KB
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

~17MB
~424K SLoC