Skip to content

Commit

Permalink
Release 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jun 5, 2018
1 parent 5a24d3c commit f39bce3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## [Unreleased]

## [v0.6.0] - 2018-06-04

### Changed

* Upgraded to hyper 0.12.
* The callback closure now takes a `&Destination` rather than a `&URI` to match what Hyper provides
to connectors.

## [v0.5.0] - 2018-02-18

### Changed
Expand Down Expand Up @@ -33,7 +41,8 @@

Look at the [release tags] for information about older releases.

[Unreleased]: https://github.com/sfackler/hyper-openssl/compare/0.5.0...master
[Unreleased]: https://github.com/sfackler/hyper-openssl/compare/0.6.0...master
[v0.6.0]: https://github.com/sfackler/hyper-openssl/compare/0.5.0...0.6.0
[v0.5.0]: https://github.com/sfackler/hyper-openssl/compare/0.4.1...0.5.0
[v0.4.1]: https://github.com/sfackler/hyper-openssl/compare/0.4.0...0.4.1
[v0.4.0]: https://github.com/sfackler/hyper-openssl/compare/0.3.1...0.4.0
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "hyper-openssl"
version = "0.5.0"
version = "0.6.0"
authors = ["Steven Fackler <[email protected]>"]
description = "Hyper SSL support via OpenSSL"
description = "Hyper TLS support via OpenSSL"
license = "MIT/Apache-2.0"
repository = "https://github.com/sfackler/hyper-openssl"
readme = "README.md"
Expand Down
6 changes: 2 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Hyper SSL support via OpenSSL.
#![warn(missing_docs)]
#![doc(html_root_url = "https://docs.rs/hyper-openssl/0.4")]
#![doc(html_root_url = "https://docs.rs/hyper-openssl/0.6")]

extern crate antidote;
extern crate futures;
Expand Down Expand Up @@ -134,8 +134,6 @@ where
}

/// Registers a callback which can customize the configuration of each connection.
///
/// It is provided with a reference to the `ConnectConfiguration` as well as the URI.
pub fn set_callback<F>(&mut self, callback: F)
where
F: Fn(&mut ConnectConfiguration, &Destination) -> Result<(), ErrorStack>
Expand Down Expand Up @@ -236,7 +234,7 @@ where
}
}

/// A stream which may be wrapped with SSL.
/// A stream which may be wrapped with TLS.
pub enum MaybeHttpsStream<T> {
/// A raw HTTP stream.
Http(T),
Expand Down

0 comments on commit f39bce3

Please sign in to comment.