From 8d2204d833c8c7ea10b995dcb486553f762a03d9 Mon Sep 17 00:00:00 2001 From: brianheineman Date: Sat, 15 Feb 2025 11:58:44 -0700 Subject: [PATCH] refactor!: rename feature rustls-tls to rustls --- postgresql_archive/Cargo.toml | 2 +- postgresql_archive/README.md | 2 +- postgresql_archive/src/lib.rs | 2 +- postgresql_embedded/Cargo.toml | 4 ++-- postgresql_embedded/README.md | 2 +- postgresql_embedded/src/lib.rs | 2 +- postgresql_extensions/Cargo.toml | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/postgresql_archive/Cargo.toml b/postgresql_archive/Cargo.toml index e2e988b..966aaf6 100644 --- a/postgresql_archive/Cargo.toml +++ b/postgresql_archive/Cargo.toml @@ -66,7 +66,7 @@ maven = [ ] md5 = ["dep:md-5"] native-tls = ["reqwest/native-tls"] -rustls-tls = ["reqwest/rustls-tls-native-roots"] +rustls = ["reqwest/rustls-tls-native-roots"] sha1 = ["dep:sha1"] sha2 = ["dep:sha2"] theseus = [ diff --git a/postgresql_archive/README.md b/postgresql_archive/README.md index 24d5915..1c0d441 100644 --- a/postgresql_archive/README.md +++ b/postgresql_archive/README.md @@ -54,7 +54,7 @@ The following features are available: | `blocking` | Enables the blocking API | No | | `indicatif` | Enables tracing-indcatif support | No | | `native-tls` | Enables native-tls support | Yes | -| `rustls-tls` | Enables rustls-tls support | No | +| `rustls` | Enables rustls support | No | ### Configurations diff --git a/postgresql_archive/src/lib.rs b/postgresql_archive/src/lib.rs index 835152d..66d647a 100644 --- a/postgresql_archive/src/lib.rs +++ b/postgresql_archive/src/lib.rs @@ -59,7 +59,7 @@ //! |--------------|----------------------------|----------| //! | `blocking` | Enables the blocking API | No | //! | `native-tls` | Enables native-tls support | Yes | -//! | `rustls-tls` | Enables rustls-tls support | No | +//! | `rustls` | Enables rustls support | No | //! //! ### Configurations //! diff --git a/postgresql_embedded/Cargo.toml b/postgresql_embedded/Cargo.toml index 205011d..3505333 100644 --- a/postgresql_embedded/Cargo.toml +++ b/postgresql_embedded/Cargo.toml @@ -51,8 +51,8 @@ native-tls = [ "postgresql_archive/native-tls", "sqlx/tls-native-tls", ] -rustls-tls = [ - "postgresql_archive/rustls-tls", +rustls = [ + "postgresql_archive/rustls", "sqlx/tls-rustls", ] theseus = [ diff --git a/postgresql_embedded/README.md b/postgresql_embedded/README.md index 373efd4..c49946f 100644 --- a/postgresql_embedded/README.md +++ b/postgresql_embedded/README.md @@ -105,7 +105,7 @@ The following features are available: | `blocking` | Enables the blocking API; requires `tokio` | No | | `indicatif` | Enables tracing-indcatif support | No | | `native-tls` | Enables native-tls support | Yes | -| `rustls-tls` | Enables rustls-tls support | No | +| `rustls` | Enables rustls support | No | | `theseus` | Enables theseus PostgreSQL binaries | Yes | | `tokio` | Enables using tokio for async | No | | `zonky` | Enables zonky PostgreSQL binaries | No | diff --git a/postgresql_embedded/src/lib.rs b/postgresql_embedded/src/lib.rs index e62992b..ab01853 100644 --- a/postgresql_embedded/src/lib.rs +++ b/postgresql_embedded/src/lib.rs @@ -92,7 +92,7 @@ //! | `bundled` | Bundles the PostgreSQL archive into the resulting binary | No | //! | `blocking` | Enables the blocking API; requires `tokio` | No | //! | `native-tls` | Enables native-tls support | Yes | -//! | `rustls-tls` | Enables rustls-tls support | No | +//! | `rustls` | Enables rustls support | No | //! | `theseus` | Enables theseus PostgreSQL binaries | Yes | //! | `tokio` | Enables using tokio for async | No | //! | `zonky` | Enables zonky PostgreSQL binaries | No | diff --git a/postgresql_extensions/Cargo.toml b/postgresql_extensions/Cargo.toml index a449a81..253b0cf 100644 --- a/postgresql_extensions/Cargo.toml +++ b/postgresql_extensions/Cargo.toml @@ -60,7 +60,7 @@ native-tls = [ "postgresql_archive/native-tls", "reqwest/native-tls", ] -rustls-tls = [ - "postgresql_archive/rustls-tls", +rustls = [ + "postgresql_archive/rustls", "reqwest/rustls-tls-native-roots", ]