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