Closed ashwinsekaran closed 4 months ago
I don't understand the context. What's this "client" package you're specifying in the cargo tree
invocation? What's getting built for Docker?
If it helps, "native" in native-tls
refers to using the platform-specific TLS library for each supported platform: Schannel for Windows, Secure Transport for macOS, and OpenSSL for Linux.
client is our native rust app, which refers ldap3 in and building docker image for our app.
I'm not sure what your exact problem is. Does the Docker build fail? If so, what's the error? Anyway, openssl
is never mentioned explicitly in ldap3
's dependencies, but included transitively through native-tls
. If you're using native-tls
and building on Linux, then openssl
's presence is non-negotiable.
Closing for lack of feedback and clarity.
Do really need to refer native features while 'non-native' features are used? because openssl is causing issue only while building in docker.
In Local build
In Docker build