Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Difference From protwrap-0.3.2 To protwrap-0.3.3
|
2025-06-01
| ||
| 22:51 | Working on TLS support. check-in: 2f55510266 user: jan tags: trunk | |
|
2024-10-18
| ||
| 12:12 | Release maintenance. check-in: 379b3a4aee user: jan tags: protwrap-0.3.3, trunk | |
| 12:11 | Connector::display_addr() check-in: ace7de4d79 user: jan tags: trunk | |
|
2024-10-15
| ||
| 10:08 | Change log maintenance. check-in: bc130369aa user: jan tags: trunk | |
| 10:02 | Release maintenance. check-in: 74d883c5fd user: jan tags: protwrap-0.3.2, trunk | |
| 09:58 | Fix Windows build. check-in: f5bad5e805 user: jan tags: trunk | |
Changes to Cargo.toml.
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | [package] name = "protwrap" |
| ︙ |
Changes to src/tokio/client/connector.rs.
| ︙ | |||
120 121 122 123 124 125 126 127 128 129 130 131 132 133 | 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | + + + + + + + + + + + + + + + + |
/// parsed.
#[cfg(feature = "tls")]
pub fn tls_tcp(s: &str) -> Result<Self, Error> {
Ok(Self::TlsTcp(TlsTcpConnInfo::from_str(s)?))
}
}
impl Connector {
/// Return a displayable string representation of the `Connector`'s target
/// address.
///
/// The returned string is not intended to be reversible.
#[must_use]
pub fn display_addr(&self) -> String {
match self {
Self::Tcp(ref tci) => tci.addr.clone(),
#[cfg(unix)]
Self::Uds(ref uci) => uci.fname.display().to_string(),
#[cfg(feature = "tls")]
Self::TlsTcp(ref ttci) => ttci.addr.clone()
}
}
}
// ToDo: Add tls/tcp parameters parsing
impl FromStr for Connector {
type Err = Error;
fn from_str(s: &str) -> Result<Self, Self::Err> {
#[cfg(unix)]
if s.find('/').is_some() {
|
| ︙ |
Changes to www/changelog.md.
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | - + + + + + + + + + + + + + - + | # Change Log ⚠️ indicates a breaking change. ## [Unreleased] |
| ︙ |