rings-node 0.39.0

Rings is a browser-native, structured peer-to-peer network: browser tabs and native daemons find each other by DID and talk over WebRTC, routed by a Chord DHT.
#![doc = include_str!("../README.md")]
#![deny(missing_docs)]
#![cfg_attr(target_arch = "wasm32", allow(clippy::arc_with_non_send_sync))]
#![cfg_attr(
    test,
    allow(
        clippy::expect_used,
        clippy::indexing_slicing,
        clippy::panic,
        clippy::unwrap_used
    )
)]
// The `dummy` feature selects rings-core's in-memory test transport. Combined with `ffi`, it
// would ship a C library whose nodes cannot reach any peer; the `rings` binary refuses the
// feature on its own (see `bin/rings.rs`).
#[cfg(all(feature = "dummy", feature = "ffi"))]
compile_error!("the `dummy` test transport cannot back the FFI library; build `ffi` without it");

/// Shared protocol constants used by the node runtime.
pub mod consts;
mod descriptor;
#[cfg(rings_native)]
pub mod dns_relay;
pub mod error;
pub mod extension;
pub mod logging;
pub mod mail;
pub mod measure;
#[cfg(all(feature = "node", not(target_family = "wasm")))]
/// Native-node configuration, CLI, and runtime adapters.
pub mod native;
/// Bounded, privacy-safe operator observability models and exporters.
pub mod observability;
pub mod onion;
pub mod online;
mod peer_quota;
pub mod prelude;
pub mod processor;
pub mod provider;
pub mod registration;
pub mod release;
// Documented by its own module docs; an outer doc would make rustdoc resolve the module's
// intra-doc links in this scope instead of its own.
pub mod remote_endpoint;
mod rpc_dto;
mod rpc_impl;
pub mod seed;
mod sync_lock;
mod tasks;
#[cfg(all(test, rings_native))]
mod test_support;
#[cfg(test)]
mod tests;
pub mod util;