diff --git a/ngrok/README.md b/ngrok/README.md index 2a62640..2bb9265 100644 --- a/ngrok/README.md +++ b/ngrok/README.md @@ -83,7 +83,7 @@ url = "2.5.4" ```rust #![deny(warnings)] use axum::{routing::get, Router}; -use ngrok::config::ForwarderBuilder; +use ngrok::config::{ForwarderBuilder, TunnelBuilder}; use std::net::SocketAddr; use url::Url; diff --git a/ngrok/src/config/http.rs b/ngrok/src/config/http.rs index f55020b..948b8b3 100644 --- a/ngrok/src/config/http.rs +++ b/ngrok/src/config/http.rs @@ -281,6 +281,7 @@ impl HttpTunnelBuilder { /// /// ```no_run /// # use ngrok::Session; + /// # use ngrok::config::TunnelBuilder; /// # async fn example() -> Result<(), Box> { /// let session = Session::builder().authtoken_from_env().connect().await?; /// diff --git a/ngrok/src/config/tcp.rs b/ngrok/src/config/tcp.rs index add2829..e5d22e7 100644 --- a/ngrok/src/config/tcp.rs +++ b/ngrok/src/config/tcp.rs @@ -146,6 +146,7 @@ impl TcpTunnelBuilder { /// /// ```no_run /// # use ngrok::Session; + /// # use ngrok::config::TunnelBuilder; /// # async fn example() -> Result<(), Box> { /// let session = Session::builder().authtoken_from_env().connect().await?; /// diff --git a/ngrok/src/config/tls.rs b/ngrok/src/config/tls.rs index e4133c8..719c5b8 100644 --- a/ngrok/src/config/tls.rs +++ b/ngrok/src/config/tls.rs @@ -161,6 +161,7 @@ impl TlsTunnelBuilder { /// /// ```no_run /// # use ngrok::Session; + /// # use ngrok::config::TunnelBuilder; /// # async fn example() -> Result<(), Box> { /// let session = Session::builder().authtoken_from_env().connect().await?; ///