From 5f512923c47803af83aed753ca36142bf1bd1a68 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 7 Jan 2024 06:34:18 +0900 Subject: [PATCH] Deprecate in favor of futures-rustls --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- README.md | 4 +++- src/lib.rs | 4 ++++ 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afd939e..d030ad7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ env: CARGO_NET_RETRY: 10 CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 - RUSTFLAGS: -D warnings + RUSTFLAGS: -D warnings -A deprecated RUSTDOCFLAGS: -D warnings RUSTUP_MAX_RETRIES: 10 diff --git a/CHANGELOG.md b/CHANGELOG.md index a2bd95c..2572972 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# Version 0.4.2 + +- This crate is now deprecated in favor of [futures-rustls](https://crates.io/crates/futures-rustls). + # Version 0.4.1 - Add `smol-rs` logo to docs. (#23) diff --git a/Cargo.toml b/Cargo.toml index 071a52f..29cb4e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-rustls" -version = "0.4.1" +version = "0.4.2" authors = [ "Alex Crichton ", "quininer kel ", diff --git a/README.md b/README.md index 1695f53..5005e1a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# async-rustls +# async-rustls (deprecated) [![Build](https://github.com/smol-rs/async-rustls/workflows/Build%20and%20test/badge.svg)]( https://github.com/smol-rs/async-rustls/actions) @@ -9,6 +9,8 @@ https://crates.io/crates/async-rustls) [![Documentation](https://docs.rs/async-rustls/badge.svg)]( https://docs.rs/async-rustls) +**This crate is now deprecated in favor of [futures-rustls](https://crates.io/crates/futures-rustls).** + Asynchronous TLS/SSL streams using [`rustls`]. [`rustls`]: https://docs.rs/rustls diff --git a/src/lib.rs b/src/lib.rs index 114dd63..63a3737 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,6 +6,10 @@ #![doc( html_logo_url = "https://raw.githubusercontent.com/smol-rs/smol/master/assets/images/logo_fullsize_transparent.png" )] +#![deprecated( + since = "0.4.2", + note = "This crate is now deprecated in favor of [futures-rustls](https://crates.io/crates/futures-rustls)." +)] macro_rules! ready { ( $e:expr ) => {