Skip to main content

Crate saorsa_core

Crate saorsa_core 

Source
Expand description

§Saorsa Core

A next-generation peer-to-peer networking foundation built in Rust.

§Features

  • QUIC-based transport with NAT traversal
  • IPv4-first with simple addressing
  • Kademlia DHT for distributed routing
  • Post-quantum cryptography (ML-DSA-65, ML-KEM-768)

Re-exports§

pub use identity::peer_id::PeerId;

Modules§

identity
User identity and privacy system (public — accessed via path by saorsa-node). Cryptographic Identity Module

Structs§

AdaptiveDhtConfig
Configuration for the AdaptiveDHT layer
BootstrapConfig
Configuration for the bootstrap manager
BootstrapManager
Simplified bootstrap manager wrapping saorsa-transport’s cache
BootstrapStats
Bootstrap cache statistics
IPDiversityConfig
Configuration for IP diversity enforcement at multiple subnet levels
MlDsa65
ML-DSA-65 implementation using FIPS-certified algorithm
MultiAddr
Composable, self-describing network address with an optional PeerId suffix.
NodeConfig
Configuration for a P2P node
P2PNode
Main P2P network node that manages connections, routing, and communication
TrustEngine
Local trust engine based on direct peer observations.

Enums§

NodeMode
Operating mode of a P2P node.
P2PEvent
Network events that can occur in the P2P system
TrustEvent
Trust-relevant events observable by the saorsa-core network layer.