iroh_n0des/lib.rs
1mod client;
2mod n0des;
3
4pub mod caps;
5pub mod protocol;
6pub mod simulation;
7
8pub use iroh_n0des_macro::sim;
9
10// This lets us use the derive metrics in the lib tests within this crate.
11extern crate self as iroh_n0des;
12
13pub use anyhow;
14pub use iroh_metrics::Registry;
15
16pub use self::{
17 client::{Client, ClientBuilder},
18 n0des::N0de,
19 protocol::ALPN,
20};
21
22#[cfg(test)]
23mod tests {
24 // keep to make sure that there is a test even with all features disabled.
25 #[test]
26 fn dummy() {
27 assert_eq!(2 + 2, 4);
28 }
29}