Skip to content

Lucky3028/create-github-app-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
}