Files
lightgui_rust/probe/PROBE_RESULT.md
T

1.9 KiB

crates.io probe — lightgui Rust port (step 0)

Date: 2026-11-29 (EST). Server: hot_newyork (172.93.49.176). Toolchain: rustc/cargo 1.100.1 stable (login shell only: use bash -lc).

Verdict: NOT BLOCKED — cargo fetch/build works

The earlier curl probe returning HTTP 403 was only the crates.io website homepage (Cloudflare bot protection on https://crates.io itself). The registry paths cargo actually uses all work:

Endpoint Result
curl -I https://crates.io HTTP 403 (homepage only — irrelevant to cargo)
curl -I https://index.crates.io/config.json HTTP 200
curl -I https://static.crates.io/crates/gtk/gtk-0.18.0.crate HTTP 200
cargo search gtk works (sparse index updates; gtk 0.19.0 latest listed)
cargo fetch exit 0, all crates downloaded
cargo build + run exit 0, probe binary runs, prints gtk 3.24.52

No proxy is configured or needed (no proxy env vars, no cargo config). No workaround was required: the default sparse registry works as-is. No vendoring needed.

Probe project (probe/)

Trivial main.rs that touches every dependency (no window opened): gtk version print, glib MainContext, cairo Format, gdk ModifierType, gio File, x11rb CURRENT_TIME, serde derive + serde_json roundtrip.

Resolved versions (from Cargo.lock)

Crate Version
gtk 0.18.2
gtk-sys 0.18.2
cairo-rs 0.18.5
gdk 0.18.2
gdk-pixbuf 0.18.5
glib 0.18.5
gio 0.18.4
x11rb 0.13.2
x11rb-protocol 0.13.2
serde 1.0.229
serde_json 1.0.154

System GTK: 3.24.52 (matches gtk-rs 0.18 / GTK 3 target). Note: gtk 0.19.0 now exists on crates.io; this probe pins 0.18 as surveyed. glib 0.18 has no major/minor/micro_version() fns (the probe initially tried them — a compile error in the probe code, not a crate problem).

Reproduce

cd probe/   # in lightgui_rust, or /tmp/crates-probe/probe
cargo build && ./target/debug/probe