manul/
dev.rs

1/*!
2Utilities for testing protocols.
3
4The [`TestSessionParams`] provides an implementation of the
5[`SessionParameters`](crate::session::SessionParameters) trait,
6which in turn is used to setup [`Session`](crate::session::Session)s to drive the protocol.
7
8The [`run_sync()`] method is helpful to execute a protocol synchronously and collect the outcomes.
9*/
10
11mod run_sync;
12mod session_parameters;
13mod wire_format;
14
15#[cfg(feature = "tokio")]
16pub mod tokio;
17
18pub use run_sync::{run_sync, ExecutionResult};
19pub use session_parameters::{TestHasher, TestSessionParams, TestSignature, TestSigner, TestVerifier};
20pub use wire_format::{BinaryFormat, HumanReadableFormat};