Cargo Features

[dependencies]
testcontainers = { version = "0.24.0", default-features = false, features = ["ring", "aws-lc-rs", "ssl", "blocking", "watchdog", "http_wait", "properties-config", "reusable-containers"] }
default = ring

The ring feature is set by default whenever testcontainers is added without default-features = false somewhere in the dependency tree.

ring default

Enables ssl of bollard

bollard:

Enable rustls / ssl

aws-lc-rs

Enables aws-lc-rs of bollard

ssl

Enables ssl_providerless of bollard

blocking
watchdog = conquer-once, signal-hook
http_wait = reqwest
properties-config = serde-java-properties
reusable-containers

Enables ulid

Affects image_ext::ReuseDirective, image_ext::ImageExt.with_reuse

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.

conquer-once watchdog?
reqwest http_wait?
serde-java-properties properties-config?
signal-hook watchdog?