Nutype: the newtype with guarantees

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

    Rust newtype with guarantees 🇺🇦 🦀

  • I need some time to think about this. If you don't mind I pasted your message to a Github discussion , so I don't forget it: https://github.com/greyblake/nutype/discussions/11

  • prae

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

  • Hey! I can't help but notice that this crate is way to similar to my crate prae. Did you see it? You even provide a similar example in the readme...

  • 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
  • bounded-integer

    Bounded integers for Rust (by Kestrer)

  • If you're interested only in integers, I suggest taking a look at bounded_integer it implements Add and many other traits out of the box.

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