iroh_n0des/
lib.rs

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