Patterns for Web API wrappers/clients

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • mlflow-rs

    Discontinued Client library for MLflow logging.

  • https://github.com/luleyleo/mlflow-rs: This library has an endpoint trait that has all the methods it needs to send requests and handle them, and it simply implements the trait for each endpoint. This is an MLFlow client but since its a lil out of date I thought I would try and implement my own.

  • serenity

    A Rust library for the Discord API. (by serenity-rs)

  • https://github.com/serenity-rs/serenity/: A Discord client, has a file containing formattable endpoint strings that are then passed to a macro to build the endpoint. These endpoints are then obtained by deconstructing an enum with the relevant fields, which is used by the client upstream to make request. I really like this approach, the use of macros and enums feels quite natural.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts