Skip to content

1.3.0

Compare
Choose a tag to compare
@lipanski lipanski released this 21 Feb 15:34
· 26 commits to master since this release
  • Introduced Server::new_with_opts, Server::new_with_opts_async and the ServerOpts struct to allow configuring the server host, port and enabling auto-asserts (see next item)
  • Added the assert_on_drop server option that allows you to automatically call assert() whenever your mocks go out of scope (defaults to false)
  • Expose Server::socket_address() to return the raw server SocketAddr
  • Use only required features for dependencies
  • Accept hyper::header::HeaderValue as a match_header() value

Thanks to @andrewtoth @alexander-jackson