This adds a new tls feature that is enabled by default, if this feature is disabled building a libsql connection will panic with a message asking you to configure a http connector. This allows users to bring their own http connector and more importantly their own TLS lib with their own versions without needing to compile rustls which we use by default.
This resolves solana-sdk >2 build issues with uses an older version of curve25519-dalek that pings zeroize to <1.4. New versions of rustls require 1.7 of zeroize thus causing issues when building rustls for libsql with the tls feature.
This adds a new
tls
feature that is enabled by default, if this feature is disabled building a libsql connection will panic with a message asking you to configure a http connector. This allows users to bring their own http connector and more importantly their own TLS lib with their own versions without needing to compile rustls which we use by default.This resolves solana-sdk >2 build issues with uses an older version of
curve25519-dalek
that pingszeroize
to<1.4
. New versions ofrustls
require1.7
ofzeroize
thus causing issues when buildingrustls
for libsql with thetls
feature.