Closed FalkWoldmann closed 1 month ago
Hi @FalkWoldmann !
Yes, of course, supporting the switch by a feature is pretty simple part, and in general this was kept in mind before adding the reqwest
(e.g the default features are disabled, and specified explicitly already)
Actually, I even think that rustls
might be a default for testcontainers
(but this should be considered as a breaking change)
I'll try to update this today and release a new version
I just switched to rustls
by default, native-tls
can be enabled explicitly by adding reqwest
to custom code dependencies if needed (features are additive)
Later we can consider ability to disable tls
at all, but it's used for underlying docker client too (rustls backend)
I'll prepare a release soon
Hi, it would be great if
testcontainers
could be built without relying onopenssl-sys
, as setting it up can be quite cumbersome, especially in CI/CD environments. Instead, couldrustls
be used as an alternative? It appears thatopenssl-sys
is being included viareqwest
:It would be great if
testcontainers
would introduce a feature flag to toggle therustls
functionality inreqwest
. Perhaps one could even argue that this should be the default behavior.