Crates.io | lib-ngrok |
lib.rs | lib-ngrok |
version | 0.2.1 |
source | src |
created_at | 2022-08-13 22:27:26.706005 |
updated_at | 2022-08-14 17:04:33.912519 |
description | Ngrok downloader and runner. |
homepage | |
repository | |
max_upload_size | |
id | 645071 |
size | 47,086 |
rust crate for downloading and running an ngrok binary.
use lib_ngrok::download;
async fn download() -> Result<(), anyhow::Error> {
let ngrok_path = &Path::new("ngrok");
download::to_path(ngrok_path).await?;
}