Skip to main content

rings_node/
lib.rs

1#![doc = include_str!("../README.md")]
2#![deny(missing_docs)]
3#![cfg_attr(target_arch = "wasm32", allow(clippy::arc_with_non_send_sync))]
4#![cfg_attr(
5    test,
6    allow(
7        clippy::expect_used,
8        clippy::indexing_slicing,
9        clippy::panic,
10        clippy::unwrap_used
11    )
12)]
13/// Shared protocol constants used by the node runtime.
14pub mod consts;
15mod descriptor;
16pub mod error;
17pub mod extension;
18pub mod logging;
19pub mod measure;
20#[cfg(all(feature = "node", not(target_family = "wasm")))]
21/// Native-node configuration, CLI, and runtime adapters.
22pub mod native;
23pub mod onion;
24pub mod online;
25mod peer_quota;
26pub mod prelude;
27pub mod processor;
28pub mod provider;
29pub mod registration;
30mod rpc_dto;
31mod rpc_impl;
32pub mod seed;
33mod sync_lock;
34#[cfg(all(test, rings_native))]
35mod test_support;
36#[cfg(test)]
37mod tests;
38pub mod util;