Skip to main content

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 client;
14mod error;
15mod http;
16mod server;
17mod websocket;
18
19pub use client::Client;
20pub use error::{AnyResult, Error, Result};
21pub use server::ServerAddr;
22
23pub const VERSION: &str = env!("CARGO_PKG_VERSION");