Why
The future_snark feature unconditionally enables rustls, with a comment stating it is temporary. The crate also exposes a native-tls feature and documents that exactly one TLS backend must be selected, so native-tls is currently unselectable and the choice is taken away from the caller.
What
Let the TLS backend of the SRS download be selected by the downstream crate rather than forced by future_snark.
How
Why
The
future_snarkfeature unconditionally enablesrustls, with a comment stating it is temporary. The crate also exposes anative-tlsfeature and documents that exactly one TLS backend must be selected, sonative-tlsis currently unselectable and the choice is taken away from the caller.What
Let the TLS backend of the SRS download be selected by the downstream crate rather than forced by
future_snark.How
rustlsfrom thefuture_snarkfeature list (mithril-stm/Cargo.toml)future_snark