Skip to content

Commit

Permalink
Merge pull request #157 from NigelThorpe/fix-uds-build
Browse files Browse the repository at this point in the history
Fix build when using the `uds` feature
  • Loading branch information
richardwhiuk authored Jul 13, 2022
2 parents 9e9f5b4 + 28bc681 commit d02405e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Fixed

## [6.2.1] - 2022-07-13
### Fixed
- Fixed build when using `--features uds`

## [6.2.0] - 2022-06-25
### Added
- Use a trait for connection on CompositeService to allow users to define
Expand Down Expand Up @@ -190,7 +194,8 @@ No changes. We now think we've got enough to declare this crate stable.
## [0.5.0] - 2017-09-18
- Start of changelog.

[Unreleased]: https://github.com/Metaswitch/swagger-rs/compare/6.2.0...HEAD
[Unreleased]: https://github.com/Metaswitch/swagger-rs/compare/6.2.1...HEAD
[6.2.1]: https://github.com/Metaswitch/swagger-rs/compare/6.2.0...6.2.1
[6.2.0]: https://github.com/Metaswitch/swagger-rs/compare/6.1.1...6.2.0
[6.1.1]: https://github.com/Metaswitch/swagger-rs/compare/6.1.0...6.1.1
[6.1.0]: https://github.com/Metaswitch/swagger-rs/compare/6.0.0...6.1.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "swagger"
version = "6.2.0"
version = "6.2.1"
authors = ["Metaswitch Networks Ltd"]
license = "Apache-2.0"
description = "A set of common utilities for Rust code generated by swagger-codegen"
Expand Down
2 changes: 1 addition & 1 deletion src/composites.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl<'a> HasRemoteAddr for &'a hyper::server::conn::AddrStream {
}

#[cfg(feature = "uds")]
impl HasRemoteAddr for &'a tokio::net::UnixStream {
impl<'a> HasRemoteAddr for &'a tokio::net::UnixStream {
fn remote_addr(&self) -> Option<SocketAddr> {
None
}
Expand Down

0 comments on commit d02405e

Please sign in to comment.