rosu_render/
lib.rs

1#![doc = include_str!("../README.md")]
2#![warn(clippy::pedantic, nonstandard_style, rust_2018_idioms, unused)]
3#![allow(
4    clippy::module_name_repetitions,
5    clippy::explicit_iter_loop,
6    clippy::similar_names,
7    clippy::missing_errors_doc,
8    clippy::struct_excessive_bools,
9    clippy::cast_possible_truncation
10)]
11
12mod routing;
13mod util;
14
15pub mod client;
16pub mod model;
17pub mod request;
18
19#[cfg(any(
20    feature = "native-tls",
21    feature = "rustls-native-roots",
22    feature = "rustls-webpki-roots"
23))]
24pub mod websocket;
25
26#[macro_use]
27extern crate tracing;
28
29pub use self::client::{error::ClientError, OrdrClient};
30
31#[cfg(any(
32    feature = "native-tls",
33    feature = "rustls-native-roots",
34    feature = "rustls-webpki-roots"
35))]
36pub use self::websocket::{error::WebsocketError, OrdrWebsocket};