1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//! `cloudflare-quick-tunnel` — pure-Rust client for Cloudflare's
//! `https://*.trycloudflare.com` "quick tunnel" service.
//!
//! Drop-in replacement for the common pattern of spawning the
//! `cloudflared` Go binary as a subprocess and scraping its stderr
//! for the public URL. Speaks QUIC + Cap'n Proto-RPC to the
//! `argotunnel` edge natively, so the host application stays a
//! single self-contained Rust binary.
//!
//! See `docs/spike-verdict.md` for the design decision record and
//! the three undocumented edge gotchas (ALPN / SNI / trust roots)
//! that the spike crate proved out against the production edge.
// Cap'n Proto-generated bindings. Shipped pre-generated under
// `src/proto_gen/` so consumers don't need the `capnp` toolchain
// on their host to build this crate. Regenerate with
// `scripts/regen-schemas.sh` after bumping the vendored schemas
// in `schemas/`.
//
// They live at the crate root because the generator emits absolute
// `crate::<schema>_capnp::…` paths between schemas — hoisting them
// keeps the output usable verbatim.
pub use TunnelError;
pub use ;