docs.rs failed to build yup-hyper-mock-0.1.6
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
yup-hyper-mock-8.0.0
hyper-mock
is a utility library to help hyper clients with their testing. It provides types used to test hyper itself, most notably, mock connections and macros to ease their use.
Usage
Set it up for use in tests in Cargo.toml
[]
= "*"
= "*" # log macros are used within yup-hyper-mock
Link it in case you are testing only in your src/(lib.rs|main.rs)
extern crate "yup-hyper-mock" as hyper_mock
In your tests module
Credits
yup-hyper-mock
is code from hyper/src/mock.rs
, which was adjusted to work within its very own crate.