nutype
bounded-integer
nutype | bounded-integer | |
---|---|---|
7 | 2 | |
1,209 | 24 | |
- | - | |
8.9 | 1.5 | |
27 days ago | 2 days ago | |
Rust | Rust | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nutype
- Nutype 0.4.0 released
- Nutype 0.3.0 released
-
Nutype 0.2.0 is released.
The release notes: https://github.com/greyblake/nutype/releases/tag/v0.2.0
-
Rust for Web Development | An Honest Evaluation
Regarding your macro system for "new nominal types" - are you talking about something in the vein of nutype or prae?
-
Nutype: the 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
bounded-integer
-
Nutype: the newtype with guarantees
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.
-
Why no positive-only, negative-only, and zero-only signed integer types?
This crate may work for you https://github.com/Kestrer/bounded-integer
What are some alternatives?
hado-rs
rust - Empowering everyone to build reliable and efficient software.
pad-motion - Implementation of Cemuhook gamepad motion protocol.
r4d - A macro processor made with rust, which aims to be a modern alternative to m4 macro processor.
windows-drivers-rs - Platform that enables Windows driver development in Rust. Developed by Surface.
enum-code - derive(Code) simplifies error handling by providing an easy-to-use enumeration of error codes
identicon-rs - A simple identicon implementation in rust
entrusted - Sanitize documents to safe PDFs, for active content removal
expand - Rust library that introduces a macro to expand byte string and string literals
validify - A proc macro used to modify struct data before applying validations
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.
rbenchmark - Library for evaluating the performance of your computer