1#![cfg_attr(docsrs, feature(doc_cfg))]
5#![doc(html_favicon_url = "https://nil.dev.br/favicon.png")]
6#![feature(
7 addr_parse_ascii,
8 const_clone,
9 const_cmp,
10 const_default,
11 const_trait_impl,
12 derive_const,
13 lock_value_accessors,
14 nonpoison_mutex,
15 sync_nonpoison
16)]
17
18mod authorization;
19mod circuit_breaker;
20mod client;
21mod error;
22mod http;
23mod retry;
24mod server;
25mod websocket;
26
27pub use client::Client;
28pub use error::{AnyResult, Error, Result};
29pub use nil_core as core;
30pub use nil_crypto as crypto;
31pub use nil_payload as payload;
32pub use nil_server_types as server_types;
33pub use server::ServerAddr;
34
35pub const VERSION: &str = env!("CARGO_PKG_VERSION");