Skip to content

Commit e760d82

Browse files
committed
Drop tokio- prefix from TLS crates
They're way too wordy and used with both tokio-postgres and postgres anyway.
1 parent 3f26402 commit e760d82

File tree

14 files changed

+10
-10
lines changed

14 files changed

+10
-10
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
members = [
33
"codegen",
44
"postgres",
5+
"postgres-native-tls",
6+
"postgres-openssl",
57
"postgres-protocol",
68
"tokio-postgres",
7-
"tokio-postgres-native-tls",
8-
"tokio-postgres-openssl",
99
]
1010

1111
[profile.release]

tokio-postgres-native-tls/Cargo.toml renamed to postgres-native-tls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "tokio-postgres-native-tls"
2+
name = "postgres-native-tls"
33
version = "0.1.0-rc.1"
44
authors = ["Steven Fackler <[email protected]>"]
55
edition = "2018"

tokio-postgres-native-tls/src/lib.rs renamed to postgres-native-tls/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! ```no_run
66
//! use native_tls::{Certificate, TlsConnector};
7-
//! use tokio_postgres_native_tls::MakeTlsConnector;
7+
//! use postgres_native_tls::MakeTlsConnector;
88
//! use std::fs;
99
//!
1010
//! # fn main() -> Result<(), Box<std::error::Error>> {
@@ -27,7 +27,7 @@
2727
//!
2828
//! ```no_run
2929
//! use native_tls::{Certificate, TlsConnector};
30-
//! use tokio_postgres_native_tls::MakeTlsConnector;
30+
//! use postgres_native_tls::MakeTlsConnector;
3131
//! use std::fs;
3232
//!
3333
//! # fn main() -> Result<(), Box<std::error::Error>> {
File renamed without changes.

tokio-postgres-openssl/Cargo.toml renamed to postgres-openssl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "tokio-postgres-openssl"
2+
name = "postgres-openssl"
33
version = "0.1.0-rc.1"
44
authors = ["Steven Fackler <[email protected]>"]
55
edition = "2018"

0 commit comments

Comments
 (0)