Skip to content

Pretend is a macros-based declarative Rust HTTP client

License

Notifications You must be signed in to change notification settings

SfietKonstantin/pretend

Repository files navigation

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.