Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using rustls simplifies some of the build/distribution concerns when packaging the CLI. Namely it allows us to produce binaries without having to ensure `openssl-sys` can build, and all that that involves. Oddly, while `native-tls` is listed as an optional-but-default dep in the Rust SDK, specifying the dep on the SDK from the CLI with `default-features = false` didn't seem to remove `openssl-sys` from the dependency tree. As a work around, I've updated the default features in the Rust SDK to target `rustls`, which does allow the sys crate to drop away. This seems fine to me. Folks who still want to use `native-tls` can elect to do so, just not by default. Some CLI features have been tuned up to support this effort, namely targeting specific individual features for `tokio`, and so on.
- Loading branch information