Cargo Features

pangu-bollard has no features set by default.

[dependencies]
pangu-bollard = { version = "0.14.0", features = ["buildkit", "test_http", "test_ssl", "test_macos", "json_data_content", "ssl", "ct_logs", "chrono", "time"] }
buildkit = bollard-buildkit-proto, num, rand, tonic, tower, tower-service

Enable Buildkit-enabled docker image building

Enables buildkit of bollard-stubs =1.42.0-rc.8

Affects image::BuildImageOptions.session

test_http

Enable tests specifically for the http connector

test_ssl = ssl

Enable tests specifically for rustls

test_macos

Enable tests specifically for macos

json_data_content

Enable JSON payload in deserialization errors

ssl ct_logs? test_ssl? = home, hyper-rustls, rustls, rustls-native-certs, rustls-pemfile, webpki, webpki-roots

Enable rustls / ssl

ct_logs = ct-logs, ssl
chrono

Enables chrono, chrono of bollard-stubs =1.42.0-rc.8

Affects container::Stats.read, container::Stats.preread, system::EventsOptions.since, system::EventsOptions.until

time

Enables time, time of bollard-stubs =1.42.0-rc.8

Affects container::Stats.read, container::Stats.preread, docker::deserialize_rfc3339, docker::serialize_rfc3339, system::EventsOptions.since, system::EventsOptions.until

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bollard-buildkit-proto buildkit?

Enables bollard-buildkit-proto =0.1.0

ct-logs ct_logs?
home ssl?
hyper-rustls ssl?

Enables hyper-rustls ^0.24

num buildkit?
rand buildkit?
rustls ssl?

Enables rustls ^0.21

rustls-native-certs ssl?

Enables rustls-native-certs ^0.6.0

rustls-pemfile ssl?

Enables rustls-pemfile ^1.0

tonic buildkit?

Enables tonic ^0.9

tower buildkit?

Enables tower ^0.4

tower-service buildkit?
webpki-roots ssl?

Enables webpki-roots ^0.23

webpki ssl?