Skip to content

Commit 34dfbd4

Browse files
committed
made MakeRustlsConnect Clone
1 parent 5c90d16 commit 34dfbd4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tokio-postgres-rustls"
33
description = "Rustls integration for tokio-postgres"
4-
version = "0.3.0"
4+
version = "0.3.1"
55
authors = ["jbg <jbg@dtmf.io>"]
66
repository = "https://github.com/jbg/tokio-postgres-rustls"
77
edition = "2018"

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ use tokio_postgres::tls::{ChannelBinding, MakeTlsConnect, TlsConnect};
1616
use tokio_rustls::{client::TlsStream, TlsConnector};
1717
use webpki::{DNSName, DNSNameRef};
1818

19+
#[derive(Clone)]
1920
pub struct MakeRustlsConnect {
2021
config: Arc<ClientConfig>,
2122
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy