ngrok   ![Build] ![Crate]

A minimal ngrok wrapper for Rust. Only tested on Linux, assuming it does not work with Windows (contributions welcome!).

Getting Started

toml [dependencies] ngrok = "0.2.0"

Usage

```rust use ngrok;

fn main() -> std::io::Result<()> { let ngrok = ngrok::builder() .http() .port(3030) .run()?;

let tunnel: url::Url = ngrok.tunnel()?.http();

println!("Tunnel is open at {:?}", tunnel);

Ok(())

} ```

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in ngrok by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.