diff --git a/iroh/src/client.rs b/iroh/src/client.rs index bf06a12426..3f6ae5055a 100644 --- a/iroh/src/client.rs +++ b/iroh/src/client.rs @@ -9,16 +9,8 @@ pub use crate::rpc_protocol::RpcService; mod quic; -#[deprecated] -pub use self::docs::Doc as MemDoc; -#[deprecated] -pub use self::docs::Doc as QuicDoc; pub use self::docs::Doc; pub use self::node::NodeStatus; -#[deprecated] -pub use self::Iroh as MemIroh; -#[deprecated] -pub use self::Iroh as QuicIroh; pub(crate) use self::quic::{connect_raw as quic_connect_raw, RPC_ALPN}; diff --git a/iroh/src/lib.rs b/iroh/src/lib.rs index 553aab8528..d5140f1849 100644 --- a/iroh/src/lib.rs +++ b/iroh/src/lib.rs @@ -74,6 +74,14 @@ //! **Important**: the protocol to a remote node is not stable and will //! frequently change. So the client and server must be running the same version of iroh. //! +//! ## Reexports +//! +//! The iroh crate re-exports the following crates: +//! - [iroh_base](iroh_base) as [`base`] +//! - [iroh_blobs](iroh_blobs) as [`blobs`] +//! - [iroh_docs](iroh_docs) as [`docs`] +//! - [iroh_net](iroh_net) as [`net`] +//! //! ## Feature Flags //! //! - `metrics`: Enable metrics collection. Enabled by default.