Cargo Features
[dependencies]
bollard = { version = "0.20.0", default-features = false, features = ["buildkit", "buildkit_providerless", "test_http", "test_ssh", "test_ssl", "test_ring", "test_aws_lc_rs", "test_macos", "test_sshforward", "test_swarm", "test_checkpoint", "json_data_content", "ssl", "aws-lc-rs", "ssl_providerless", "webpki", "chrono", "time", "http", "pipe", "ssh"] }
- default = http, pipe
-
These default features are set whenever
bollardis added withoutsomewhere in the dependency tree.default-features = false - buildkit = buildkit_providerless, ssl
-
Enable Buildkit-enabled docker image building
- buildkit_providerless buildkit? = bollard-buildkit-proto, num, rand, ssl_providerless, tokio-stream, tonic, tower-service
-
Enables async-stream and bitflags, buildkit of bollard-stubs, fs of tokio, io of tokio-util
- test_http
-
Enable tests specifically for the http connector
- test_ssh = ssh
-
Enable tests specifically for the ssh 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
- test_swarm
-
Enable tests specifically for swarm
- test_checkpoint
-
Enable tests specifically for checkpoints (requires experimental Docker daemon and CRIU)
- 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? buildkit_providerless? ssl? test_ssl? = home, http, hyper-rustls, rustls, rustls-native-certs, rustls-pki-types
- webpki = ssl
-
Enables webpki-roots
- chrono
-
Enables chrono, chrono of bollard-stubs
- time
-
Enables time, time of bollard-stubs
- http default ssl_providerless? = hyper-util
-
Affects
docker::DEFAULT_TCP_ADDRESS… - pipe default = hyper-named-pipe, hyper-util, hyperlocal
- ssh test_ssh? = hyper-util, openssh, tower-service
-
Affects
docker::DEFAULT_SSH_ADDRESS…
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_providerless?
- home ssl_providerless?
- hyper-rustls ssl_providerless?
- hyper-util http pipe ssh?
- openssh ssh?
- num buildkit_providerless?
- rand buildkit_providerless?
- rustls aws-lc-rs? ssl? ssl_providerless?
- rustls-native-certs ssl_providerless?
- rustls-pki-types ssl_providerless?
- tonic buildkit_providerless?
- tokio-stream buildkit_providerless?
- tower-service buildkit_providerless? ssh?
- hyper-named-pipe win pipe
- hyperlocal unix pipe