prae: a simple library that helps you keep your types valid

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
  • tightness

  • Hi! Recently I stumbled upon a post here called Tightness Driven Development. It was an interesting read with very good ideas. The author created a small library called tightness to help users create types that promise to be always valid. Although the library was good, I found it a bit inconvenient and described my concerns in this issue. I didn't get much response, so I decided to write my own (and very first) crate for this!

  • prae

    prae is a crate that aims to provide a better way to define types that require validation.

  • Meet prae. It provides a simple proc macro that allows you to do small things like this:

  • 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
  • syn

    Parser for Rust source code

  • Thanks for the kind words. This is true that proc macro code can be very messy. At first I got some very ugly nested spaghetti code, it took me a couple of iterations to make it a bit more clear. By the way, there is a proposal in syn repo that can make the developer experience even better!

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