twitch_helix/lib.rs
1//! Twitch Helix requests
2//!
3//! This library offers a list of requests supported by twitch's `Helix`API.
4//!
5//! Each request is it's it's own submodule, typically following it's url.
6//!
7//! # Client
8//! This library also offers a client to help with the connections.
9//! It is not mandatory to use the client, as all requests do not depend
10//! on it, however.
11
12// Lints
13#![warn(clippy::restriction, clippy::pedantic, clippy::nursery, clippy::cargo)]
14// We have fine-grained modules, which causes this to happen often
15#![allow(clippy::module_name_repetitions)]
16// No need to mark EVERY public function as `inline`
17#![allow(clippy::missing_inline_in_public_items)]
18// We prefer implicit returns
19#![allow(clippy::implicit_return)]
20// We shadow variables, as long as they have the same meaning
21#![allow(clippy::shadow_reuse)]
22// We have fine-grained error types, which are self-explanatory
23#![allow(clippy::missing_errors_doc)]
24// False positive, we have them all
25#![allow(clippy::cargo_common_metadata)]
26
27// Modules
28pub mod client;
29pub mod request;
30pub mod response;
31#[macro_use]
32pub mod url;
33
34// Exports
35pub use client::Client;
36pub use request::{HelixRequest, OAuthRequest};
37pub use response::{HelixResponse, OAuthResponse};