discord_client_rest/
lib.rs

1use std::error::Error;
2pub mod api;
3pub mod build_number;
4pub mod captcha;
5pub mod clearance;
6pub mod image;
7pub mod mfa;
8pub mod rate_limit;
9pub mod rest;
10pub mod structs;
11pub mod super_prop;
12
13type BoxedError = Box<dyn Error + Send + Sync>;
14type BoxedResult<T> = Result<T, BoxedError>;
15
16const MAX_ICON_SIZE: usize = 10 * 1024 * 1024;