Skip to main content

djs_rest/
lib.rs

1#![doc = include_str!("../README.md")]
2#![cfg_attr(docsrs, feature(doc_cfg))]
3
4pub mod cdn;
5mod client;
6mod endpoints;
7mod error;
8mod multipart;
9pub mod oauth2;
10mod query;
11mod ratelimit;
12mod route;
13#[cfg(feature = "hyper")]
14mod tls;
15mod transport;
16
17pub use self::{
18    client::{DEFAULT_API, Request, Rest, RestBuilder},
19    error::{ApiError, Error, ErrorKind, FieldError},
20    route::{ReactionEmoji, Route},
21    transport::{Body, BoxFuture, Transport},
22};