Crates.io | create-github-app-token |
lib.rs | create-github-app-token |
version | 2.0.1 |
source | src |
created_at | 2021-12-12 05:47:53.969081 |
updated_at | 2022-10-22 15:03:36.742634 |
description | This library makes easier to publish GitHub App token. |
homepage | |
repository | https://github.com/Lucky3028/create-github-app-token |
max_upload_size | |
id | 496446 |
size | 15,142 |
This library makes easier to publish GitHub App token.
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)
}