Skip to content

Releases: SfietKonstantin/pretend

Support for request interceptors

22 Feb 11:47
Compare
Choose a tag to compare

Changed

Added

Fixed

Better HTTP client support and more convenient macro

14 Aug 12:03
Compare
Choose a tag to compare

This release adds flexibility in configuring the HTTP clients, by allowing disabling HTTP client default features directly through the pretend-* crate. It also remove request and header attribute macros. Only pretend attribute macro is required to write pretend enabled traits. The other attributes will be handled automatically by pretend.

Changed

Added

Fixes

ureq support and better errors

11 Aug 15:03
Compare
Choose a tag to compare

This release brings the support for ureq. It also improves the Error type, that wraps errors that are Send + Sync.
This improves the Error type and makes it compatible with (eg) anyhow ...
... except if you are using awc.

Added

Changed

Fixed

More polishing

27 Jun 15:39
Compare
Choose a tag to compare

Changed

Fixed

  • remove Cargo.lock and add Cargo.lock in .gitignore (#21) @orzogc

0.2.0

23 Jun 17:32
47918b0
Compare
Choose a tag to compare

Changed

Added

Fixed

Initial release polish

12 May 18:31
ea22e5f
Compare
Choose a tag to compare

This release brings a little level of polish over the initial release.

Changed

Updates

  • Do not require static lifetime for bytes bodies (#8) @SfietKonstantin
  • Some traits like Debug and Eq are implemented on Json and JsonResult

Added

Initial release

10 May 17:33
Compare
Choose a tag to compare

This is the initial release. It introduces pretend and it's codegen as well as two pretend clients.

Changed

Added

Fixed