summaryrefslogtreecommitdiff
path: root/src/api/mod.rs
blob: a1e0e97fa731d47ecb99b04aeea2325fe509f824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use once_cell::sync::Lazy;

pub mod guzzle;
pub mod shiggy;

pub const USER_AGENT: &str = "teawieBot/0.1.0";

pub static REQWEST_CLIENT: Lazy<reqwest::Client> = Lazy::new(|| {
	reqwest::Client::builder()
		.user_agent(USER_AGENT)
		.build()
		.unwrap_or_default()
});