| Crates.io | rujira |
| lib.rs | rujira |
| version | 0.4.1 |
| created_at | 2024-11-30 09:24:25.288548+00 |
| updated_at | 2025-03-05 03:11:33.058682+00 |
| description | This module provides an API for working with Jira |
| homepage | https://gitflic.ru/project/itmage/rujira-rs |
| repository | https://gitflic.ru/project/itmage/rujira-rs |
| max_upload_size | |
| id | 1466437 |
| size | 87,321 |
This module provides an API for working with Jira.
use dotenv::dotenv;
use rujira::*;
use serde_json::json;
use tracing_subscriber::{fmt, EnvFilter};
#[tokio::main]
async fn main() {
dotenv().ok();
fmt()
.with_env_filter(EnvFilter::from_default_env())
.compact()
.init();
let bot = Rujira::new().from_env_handler();
let Ok(me) = crate::api::myself::get(bot).apply().await else {
todo!()
};
tracing::debug!(?me);
}
RUJIRA_TOKEN=<TOKEN> cargo test