#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

#225 in #token

Download history 10/week @ 2025-01-26 409/week @ 2025-02-02 32/week @ 2025-02-09

447 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

~19MB
~414K SLoC