mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-10 07:05:51 +00:00
Update hyper to 1.10.1 and hyperlocal to 0.9.1 (required for hyper 1.x compatibility). Add http-body-util 0.1, hyper-util 0.1 and bytes 1.0 as workspace dependencies. API changes applied across shim-interface, runtimes, hypervisor (firecracker) and resource (nydus_client) crates: - hyper::Body → http_body_util::Full<Bytes> for outgoing bodies - hyper::body::Incoming for incoming server request bodies - hyper::Client → hyper_util::client::legacy::Client - hyper::Server + make_service_fn → TcpListener loop + hyper_util::server::conn::auto::Builder (kata-ctl http_server) - hyper::server::conn::Http → hyper::server::conn::http1::Builder with hyper_util::rt::TokioIo wrapper (runtimes shim_mgmt server) - hyper::body::to_bytes() → BodyExt::collect().await?.to_bytes() - Client::unix() now requires explicit body type parameter Full<Bytes> - Drop removed 'stream' feature flag from hyper dependency declarations Generated-by: IBM Bob Signed-off-by: stevenhorsman <steven@uk.ibm.com>