5 releases

0.1.4 Mar 21, 2024
0.1.3 Dec 27, 2023
0.1.2 Jul 21, 2023
0.1.1 Jun 15, 2023
0.1.0 Jun 5, 2023

#550 in Web programming

Download history 3/week @ 2024-01-24 5/week @ 2024-01-31 1/week @ 2024-02-07 4/week @ 2024-02-14 14/week @ 2024-02-21 18/week @ 2024-02-28 4/week @ 2024-03-06 119/week @ 2024-03-20 8/week @ 2024-03-27 19/week @ 2024-04-03 36/week @ 2024-04-10 11/week @ 2024-04-17 7/week @ 2024-04-24

54 downloads per month

Custom license

635KB
13K SLoC

rust-traq

Rust Release LICENSE

GitHub release crate

⚠️ Community Driven ⚠️ This is a client library for the traQ API, written in Rust.

This crate is updated using openapi-generator.

Example

Add this crate using cargo add traq, then write in main.rs:

use traq::apis::{channel_api, configuration};

#[tokio::main]
async fn main() {
    let conf = configuration::Configuration {
        bearer_access_token: env::var("BOT_ACCESS_TOKEN").ok(),
        ..Default::default()
    };
    let res = channel_api::get_channels(&conf, Some(true)).await;
    println!("{:?}", res);
}

Dependencies

~4–18MB
~241K SLoC