hyper-stub

Crates.iohyper-stub
lib.rshyper-stub
version0.1.0
sourcesrc
created_at2018-06-16 21:25:49.820292
updated_at2018-06-16 21:25:49.820292
descriptionhyper clients that don't touch the network.
homepage
repositoryhttps://github.com/alyssais/hyper-stub
max_upload_size
id70408
size30,813
Alyssa Ross (alyssais)

documentation

README

hyper-stub

hyper-stub is a Rust library that provides functions to create hyper clients that convert requests to responses using predefined functions, without doing any actual networking. This means the entire request/response lifecycle happens in a single process, and should have performance and stability improvements over, for example, binding to a port. One potential use case for this is stubbing HTTP interactions in tests to avoid slow/flakey/absent internet connections.

For API reference and usage examples, see the documentation.

Commit count: 1

cargo fmt