nodedb-cluster 0.0.6

Distributed coordination layer for NodeDB — vShards, QUIC transport, and replication
Documentation
pub mod auth_context;
pub mod client;
pub mod config;
pub mod credentials;
pub mod server;

pub use auth_context::AuthContext;

pub use client::{NexarTransport, TransportPeerSnapshot};
pub use config::{
    TlsCredentials, ca_fingerprint, ca_fingerprint_hex, generate_node_credentials,
    generate_node_credentials_multi_san, issue_leaf_for_sans, load_crls_from_pem,
    make_raft_client_config_mtls, make_raft_server_config_mtls,
};

/// Re-exported PKI types used in the public shape of [`TlsCredentials`].
///
/// Consumers constructing `TlsCredentials` from PEM files or network bytes
/// do not need their own `rustls` dependency.
pub mod pki_types {
    pub use rustls::pki_types::{
        CertificateDer, CertificateRevocationListDer, PrivateKeyDer, PrivatePkcs8KeyDer, UnixTime,
    };
}
pub use credentials::{TransportCredentials, insecure_transport_count};
pub use server::RaftRpcHandler;