testcontainers-rs icon indicating copy to clipboard operation
testcontainers-rs copied to clipboard

Crate fails to build with `default-features = false`

Open ktff opened this issue 8 months ago • 0 comments

Description

testcontainer will fail to build if all features are disabled like testcontainers = { version = "0.24", default-features = false }.

The build error:

testcontainers-0.24.0/src/core/client/bollard_client.rs:38:13
    |
38  |     Docker::connect_with_ssl(
    |             ^^^^^^^^^^^^^^^^ function or associated item not found in `Docker`

Temporary fix

Enable ring feature.

ktff avatar Jun 09 '25 10:06 ktff