fix(web): enable reqwest stream feature for bunyip-web #88
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/bunyip-web-reqwest-stream"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Add the
streamfeature tobunyip-web'sreqwestdependency.Why
bunyip-web's download proxy (bunyip-web/src/handlers/dashboard.rs) callsresp.bytes_stream()/Body::from_stream(...), which require reqwest'sstreamfeature. The crate declares reqwest withdefault-features = falseand did not liststream, so a targeted build fails:A full workspace build hides this: another member (
bunyip-oci) enables reqweststream, and Cargo feature unification turns it on for the shared reqwest build - so CI /cargo build --workspacepass. But the dev container runscargo watch -x 'run -p bunyip-web', whose narrower graph does not get that unification, so the login UI fails to rebuild and Traefik returns 502. (Hit live: the dev login page went 502 after a rebuild.)Fix
List
streaminbunyip-web's own reqwest features so it builds standalone, independent of feature unification.Verification
cargo check -p bunyip-webnow compiles (it errored before), and the dev web container came back up (Web listening on http://0.0.0.0:4400); the login path serves 200 again.🤖 Generated with Claude Code