mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 00:00:37 +08:00
This is a large change that introduces transport encryption via a Noise_XK handshake. The inner `Service` now works directly with `NodeId` and doesn't need to interact with socket addresses. The transport logic takes place in `wire::transport`, and the established sessions are passed down to `Service`. Note that the i/o implementation in the `poll-reactor` crate still needs testing, and there is still work to be done to integrate the Git transport as part of this architecture. Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
36 lines
1008 B
Rust
36 lines
1008 B
Rust
#[macro_use]
|
|
extern crate amplify;
|
|
|
|
pub mod address;
|
|
pub mod bounded;
|
|
pub mod client;
|
|
pub mod clock;
|
|
pub mod control;
|
|
pub mod deserializer;
|
|
pub mod logger;
|
|
pub mod service;
|
|
pub mod sql;
|
|
#[cfg(any(test, feature = "test"))]
|
|
pub mod test;
|
|
#[cfg(test)]
|
|
pub mod tests;
|
|
pub mod wire;
|
|
|
|
pub use nakamoto_net::{Io, Link, LocalDuration, LocalTime};
|
|
pub use radicle::{collections, crypto, git, identity, node, profile, rad, storage};
|
|
|
|
pub mod prelude {
|
|
pub use crate::bounded::BoundedVec;
|
|
pub use crate::clock::Timestamp;
|
|
pub use crate::crypto::hash::Digest;
|
|
pub use crate::crypto::{PublicKey, Signature, Signer};
|
|
pub use crate::deserializer::Deserializer;
|
|
pub use crate::identity::{Did, Id};
|
|
pub use crate::service::filter::Filter;
|
|
pub use crate::service::message::Address;
|
|
pub use crate::service::{DisconnectReason, Event, Message, Network, NodeId};
|
|
pub use crate::storage::refs::Refs;
|
|
pub use crate::storage::WriteStorage;
|
|
pub use crate::{LocalDuration, LocalTime};
|
|
}
|