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(addr_parse_ascii)]
7
8mod client;
9mod error;
10mod http;
11mod server;
12mod websocket;
13
14pub use client::Client;
15pub use error::{AnyResult, Error, Result};
16pub use server::ServerAddr;
17
18pub const VERSION: &str = env!("CARGO_PKG_VERSION");