botrs 0.13.0

A Rust QQ Bot framework based on QQ Guild Bot API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Authentication token management for QQ Guild Bot API.
//!
//! This module provides the `Token` struct for managing bot authentication
//! credentials including app ID and secret, with access token management.

mod core;
mod display;
mod refresh;

pub use core::Token;
pub use refresh::start_access_token_refresh;

#[cfg(test)]
use refresh::get_refresh_millis;
use refresh::parse_expires_in;

#[cfg(test)]
mod tests;