tokio-rustls/tokio-native-tls
Eliza Weisman db01bce007
fix a handful of lints, one of which was breaking the build (#65)
* native-tls: fix use of non-fmt panic in tests
* fix some misc. clippy lints

This branch fixes a number of lints. The most important one was the use
of a non-`format_args!` expression in a `panic!` macro, which generates
a compiler warning in recent Rust toolchains, which is breaking the CI
`cargo check` run on PR #64.

While I was here, I also fixed some miscellaneous Clippy lints, mostly
in tests. These include:

* Use of `clone()` on `SocketAddr`s (which implement `Copy`)
* Unnecessary single-path-segment imports (which probably used to be
  `extern crate`s in earlier Rust?)
* `'static` lifetimes in `const` type annotations (`const`s always have
  the `'static` lifetime)

None of these were breaking the build on CI, but I figured I'd address
them while I was fixing other lints.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2021-06-29 15:45:21 -07:00
..
examples fix a handful of lints, one of which was breaking the build (#65) 2021-06-29 15:45:21 -07:00
scripts Auto-generate TLS server certificate for unix platform (#8) 2020-04-03 10:16:23 -04:00
src tokio-native-tls: prepare v0.3.0 (#47) 2020-12-24 12:13:08 -05:00
tests fix a handful of lints, one of which was breaking the build (#65) 2021-06-29 15:45:21 -07:00
Cargo.toml tokio-native-tls: prepare v0.3.0 (#47) 2020-12-24 12:13:08 -05:00
CHANGELOG.md tokio-native-tls: prepare v0.3.0 (#47) 2020-12-24 12:13:08 -05:00
LICENSE Initial commit 2020-01-09 18:36:35 -05:00
README.md Initial commit 2020-01-09 18:36:35 -05:00

tokio-tls

An implementation of TLS/SSL streams for Tokio built on top of the [native-tls crate]

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.