1.3.0
- Introduced
Server::new_with_opts
,Server::new_with_opts_async
and theServerOpts
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 callassert()
whenever your mocks go out of scope (defaults to false) - Expose
Server::socket_address()
to return the raw serverSocketAddr
- Use only required features for dependencies
- Accept
hyper::header::HeaderValue
as amatch_header()
value
Thanks to @andrewtoth @alexander-jackson