nil_client/lib.rs
1// Copyright (C) Call of Nil contributors
2// SPDX-License-Identifier: AGPL-3.0-only
3
4#![cfg_attr(docsrs, feature(doc_cfg))]
5#![doc(html_favicon_url = "https://nil.dev.br/favicon.png")]
6#![feature(
7 addr_parse_ascii,
8 lock_value_accessors,
9 nonpoison_mutex,
10 sync_nonpoison
11)]
12
13mod authorization;
14mod circuit_breaker;
15mod client;
16mod error;
17mod http;
18mod retry;
19mod server;
20mod websocket;
21
22pub use client::Client;
23pub use error::{AnyResult, Error, Result};
24pub use server::ServerAddr;
25
26pub const VERSION: &str = env!("CARGO_PKG_VERSION");