cloudflared

Crates.iocloudflared
lib.rscloudflared
version0.0.3
sourcesrc
created_at2024-02-28 16:26:08.30262
updated_at2024-02-28 18:46:51.744465
descriptionCloudflare Tunnel client
homepage
repositoryhttps://github.com/KABBOUCHI/cloudflared
max_upload_size
id1156689
size49,140
Georges KABBOUCHI (KABBOUCHI)

documentation

README

cloudflared

Setup

cargo add cloudflared

Usage

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));
}
Commit count: 0

cargo fmt