Skip to content

Commit

Permalink
chore(doc): Documentation, examples & tests for protocol.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Spooren <[email protected]>
  • Loading branch information
koraa and aparcar committed Dec 16, 2024
1 parent c0b91fd commit 46e855b
Show file tree
Hide file tree
Showing 3 changed files with 2,275 additions and 111 deletions.
6 changes: 5 additions & 1 deletion rosenpass/src/protocol/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
//! # Example Handshake
//!
//! This example illustrates a minimal setup for a key-exchange between two
//! [CryptoServer].
//! [CryptoServer]s; this is what we use for some testing purposes but it is not
//! what should be used in a real world application, as timing-based events
//! are handled by [CryptoServer::poll].
//!
//! See [CryptoServer::poll] on how to use crypto server in polling mode for production usage.
//!
//! ```
//! use std::ops::DerefMut;
Expand Down
Loading

0 comments on commit 46e855b

Please sign in to comment.