3 releases (breaking)

new 0.4.1 Mar 5, 2025
0.3.0 Dec 19, 2024
0.2.0 Dec 11, 2024
0.1.2 Dec 1, 2024
0.1.1 Nov 30, 2024

#789 in Web programming

Download history 342/week @ 2024-11-30 144/week @ 2024-12-07 110/week @ 2024-12-14 15/week @ 2024-12-21 2/week @ 2025-01-04 1/week @ 2025-02-22 119/week @ 2025-03-01

120 downloads per month

MIT/Apache

26KB
539 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–25MB
~335K SLoC