Crates.io | rujira |
lib.rs | rujira |
version | |
source | src |
created_at | 2024-11-30 09:24:25.288548 |
updated_at | 2024-12-11 09:23:38.19638 |
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 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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