1 unstable release
new 0.2.0 | Dec 11, 2024 |
---|---|
0.1.2 |
|
0.1.1 |
|
0.1.0 |
|
#881 in Web programming
363 downloads per month
25KB
522 lines
Rujira
This module provides an API for working with Jira.
Example usage
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);
}
Tests running
RUJIRA_TOKEN=<TOKEN> cargo test
lib.rs
:
Rujira
This module provides an API for working with Jira.
Example usage:
use dotenv::dotenv;
use rujira::*;
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);
}
Dependencies
~12–24MB
~333K SLoC