Crates.io | cloudflared |
lib.rs | cloudflared |
version | 0.0.3 |
source | src |
created_at | 2024-02-28 16:26:08.30262 |
updated_at | 2024-02-28 18:46:51.744465 |
description | Cloudflare Tunnel client |
homepage | |
repository | https://github.com/KABBOUCHI/cloudflared |
max_upload_size | |
id | 1156689 |
size | 49,140 |
cargo add cloudflared
fn main() {
let tunnel = cloudflared::Tunnel::builder()
.url("http://localhost:8080")
.build()
.unwrap();
println!("URL: {}", tunnel.url());
std::thread::sleep(std::time::Duration::from_secs(42));
}