Cargo Features
Bollard has no features set by default.
[dependencies]
bollard = { version = "0.16.1", features = ["buildkit", "test_http", "test_ssl", "test_macos", "json_data_content", "ssl", "webpki", "chrono", "time"] }
- buildkit = bollard-buildkit-proto, chrono, num, rand, ssl, tonic, tower-service
-
Enable Buildkit-enabled docker image building
Enables buildkit of bollard-stubs, fs of tokio, io of tokio-util
Affects
image::BuildImageOptions.session
,image::ImageBuildOutput
… - 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 buildkit? test_ssl? webpki? = home, hyper-rustls, rustls, rustls-native-certs, rustls-pemfile, rustls-pki-types
-
Enable rustls / ssl
- webpki = ssl
-
Enables webpki-roots
- chrono buildkit?
-
Enables chrono, chrono of bollard-stubs
Affects
container::Stats.read
,container::Stats.preread
,system::EventsOptions.since
,system::EventsOptions.until
… - time
-
Enables time, time of bollard-stubs
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.