Cargo Features
[dependencies]
bollard-next = { version = "0.18.1", default-features = false, features = ["buildkit", "test_http", "test_ssl", "test_ring", "test_aws_lc_rs", "test_macos", "test_sshforward", "json_data_content", "ssl", "aws-lc-rs", "ssl_providerless", "webpki", "chrono", "time", "http", "pipe", "utoipa", "schemars"] }
- default = http, pipe
-
These default features are set whenever
bollard-next
is added without
somewhere in the dependency tree.default-features = false - buildkit = bollard-buildkit-proto, chrono, num, rand, ssl, tokio-stream, tonic, tower-service
-
Enable Buildkit-enabled docker image building
Enables async-stream and bitflags, buildkit of bollard-next-stubs, fs of tokio, io of tokio-util
Affects
image::BuildImageOptions.session
,image::BuildImageOptions.outputs
,image::ImageBuildOutput
… - test_http
-
Enable tests specifically for the http connector
- test_ssl test_aws_lc_rs? test_ring? = ssl_providerless
-
Enable tests specifically for rustls
Enables webpki-roots
- test_ring = ssl, test_ssl
- test_aws_lc_rs = aws-lc-rs, test_ssl
- test_macos
-
Enable tests specifically for macos
- test_sshforward
-
Enable tests specifically for buildkit's sshforward functionality
- json_data_content
-
Enable JSON payload in deserialization errors
- ssl buildkit? test_ring? webpki? = ssl_providerless
-
Enable rustls / ssl
- aws-lc-rs test_aws_lc_rs? = ssl_providerless
-
rustls:
Alias because Cargo features commonly use
-
- ssl_providerless aws-lc-rs? ssl? test_ssl? = home, http, hyper-rustls, rustls, rustls-native-certs, rustls-pemfile, rustls-pki-types
- webpki = ssl
-
Enables webpki-roots
- chrono buildkit?
-
Enables chrono, chrono of bollard-next-stubs
Affects
container::Stats.read
,container::Stats.preread
,system::EventsOptions.since
,system::EventsOptions.until
… - time
-
Enables time, time of bollard-next-stubs
Affects
container::Stats.read
,container::Stats.preread
,docker::deserialize_rfc3339
,docker::serialize_rfc3339
,system::EventsOptions.since
,system::EventsOptions.until
… - http default ssl_providerless? = hyper-util
-
Affects
docker::DEFAULT_TCP_ADDRESS
… - pipe default = hyper-named-pipe, hyperlocal
- utoipa
-
Enables utoipa, utoipa of bollard-next-stubs
- schemars
-
Enables schemars, schemars of bollard-next-stubs
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?
- home ssl_providerless?
- hyper-rustls ssl_providerless?
- hyper-util http
- num buildkit?
- rand buildkit?
- rustls aws-lc-rs? ssl? ssl_providerless?
- rustls-native-certs ssl_providerless?
- rustls-pemfile ssl_providerless?
- rustls-pki-types ssl_providerless?
- tonic buildkit?
- tokio-stream buildkit?
- tower-service buildkit?
- hyper-named-pipe win pipe
- hyperlocal unix pipe