HTTP mocking for Rust!
Get it on crates.io.
Documentation available at https://docs.rs/mockito.
Before upgrading, make sure to check out the changelog.
- Check the existing issues and pull requests.
- One commit is one feature - consider squashing.
Run tests:
cargo test
Run clippy
rustup component add clippy-preview
touch src/lib.rs # Touch the file to force cargo to rerun clippy on the project
cargo clippy --lib --tests --all-features -- -D clippy::pedantic -D clippy::nursery
Release:
cargo package && cargo publish
Run benchmarks:
rustup install nightly
rustup run nightly cargo bench
Logo courtesy to http://niastudio.net ๐