pretend icon indicating copy to clipboard operation
pretend copied to clipboard

Pretend is a macros-based declarative Rust HTTP client

pretend

Build codecov

pretend is a modular, Feign-inspired HTTP, client based on macros. It's goal is to decouple the definition of a REST API from it's implementation.

Some features:

  • Declarative
  • Asynchronous-first implementations
  • HTTP client agnostic
  • JSON support thanks to serde

This repository contains the code for pretend and pretend-codegen as well as pretend-reqwest pretend-ishac and pretend-awc.

MSRV for the pretend ecosystem is Rust 1.44.