diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f8769075..cad3fd26f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/Cargo.toml b/Cargo.toml index e02fb6800..4cc9e8622 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/composites.rs b/src/composites.rs index a544475eb..598da8f77 100644 --- a/src/composites.rs +++ b/src/composites.rs @@ -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 { None }