fussybeaver / bollard

Docker daemon API in Rust
Apache License 2.0
907 stars 134 forks source link

Optional builtin http client #465

Closed izissise closed 1 month ago

izissise commented 2 months ago

With the custom transport implementation we're able to provide a sans-io bollard crate.

This also remove the hard dependency on tokio making possible to use other async runtime.

When the disabling default options (http, pipe), fresh compile time is reduced from ~24s to ~14s and rlib size from ~24MiB to ~11MiB.

fussybeaver commented 1 month ago

Hi, thanks for the PR and sorry for the delay in reviewing. This looks great, I've been thinking it would be great to be able to support other runtimes.

fussybeaver commented 1 month ago

Thanks, I think this opens the door to a more flexible library.