Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

crates.io "newtype" keyword

newtypedecl 0.0.0
declarative newtype macro
1 version - Latest release: 6 months ago - 289 downloads total - 1 maintainer
invariant 0.0.2
A library for creating wrapper types that enforce invariants.
2 versions - Latest release: over 7 years ago - 1.97 thousand downloads total - 4 stars on GitHub - 1 maintainer
Top 9.8% on crates.io
derive_more-impl 1.0.0-beta.6
Internal implementation of `derive_more` crate
6 versions - Latest release: 7 months ago - 1 dependent package - 1 dependent repositories - 325 thousand downloads total - 1,416 stars on GitHub - 1 maintainer
Top 1.9% on crates.io
derive_more 0.99.17
Adds #[derive(x)] macros for more traits
42 versions - Latest release: over 2 years ago - 1,505 dependent packages - 24,555 dependent repositories - 62.1 million downloads total - 1,416 stars on GitHub - 1 maintainer
newtype-uuid 1.1.0
Newtype wrapper around UUIDs
6 versions - Latest release: 28 days ago - 49.6 thousand downloads total - 21 stars on GitHub - 1 maintainer
nova 0.5.4 💰
Macro to derive newtypes with support for serde and sqlx.
14 versions - Latest release: over 1 year ago - 3 dependent repositories - 11.2 thousand downloads total - 4 stars on GitHub - 1 maintainer
nova-impl 0.5.4 💰
Implementation for nova crate.
9 versions - Latest release: over 1 year ago - 1 dependent package - 1 dependent repositories - 10.5 thousand downloads total - 4 stars on GitHub - 1 maintainer
nova-macro 0.5.4 💰
Implementation for nova crate.
9 versions - Latest release: over 1 year ago - 1 dependent package - 1 dependent repositories - 10.2 thousand downloads total - 4 stars on GitHub - 1 maintainer
Top 9.3% on crates.io
shrinkwraprs 0.3.0
Auto-derive for Rust conversion traits -- make working with newtypes a breeze
9 versions - Latest release: over 4 years ago - 59 dependent packages - 224 dependent repositories - 970 thousand downloads total - 28 stars on GitLab.com - 1 maintainer
byte-fmt 0.1.0
B64 and AB newtype for parsing and printing
2 versions - Latest release: about 1 year ago - 2 dependent packages - 1 dependent repositories - 829 downloads total - 7 stars on GitHub - 1 maintainer
phantom_newtype 0.2.0
Lightweight newtypes without macros.
2 versions - Latest release: over 4 years ago - 1 dependent package - 2 dependent repositories - 2.92 thousand downloads total - 22 stars on GitHub - 1 maintainer
valobs 0.1.0
Valobs - A collection of commonly used value objects in enterprise applications
2 versions - Latest release: 4 months ago - 566 downloads total - 1 stars on GitHub - 1 maintainer
aliri_braid_examples 0.4.0
Examples demonstrating usage of the `aliri_braid` crate
10 versions - Latest release: 12 months ago - 3.01 thousand downloads total - 30 stars on GitHub - 1 maintainer
aliri_braid 0.4.0
Improve and strengthen your strings by making them strongly-typed with less boilerplate
19 versions - Latest release: 12 months ago - 18 dependent packages - 26 dependent repositories - 690 thousand downloads total - 30 stars on GitHub - 1 maintainer
rvs_derive 0.3.2
A helper macros implementation for Value Classes in Rust
12 versions - Latest release: over 1 year ago - 1 dependent package - 7 dependent repositories - 266 thousand downloads total - 4 stars on GitHub - 1 maintainer
rvstruct 0.3.2
A helper macros implementation for Value Classes in Rust
7 versions - Latest release: over 1 year ago - 7 dependent packages - 11 dependent repositories - 264 thousand downloads total - 4 stars on GitHub - 1 maintainer
trapper 2.0.0
A library for creating newtypes that don't require ownership of their internal value
2 versions - Latest release: almost 5 years ago - 1 dependent package - 1 dependent repositories - 1.66 thousand downloads total - 2 stars on GitHub - 1 maintainer
thisisplural 0.4.0 💰
#[derive(Plural)] for creating frictionless new types with any collection type like Vec or HashMap
6 versions - Latest release: about 1 month ago - 2.91 thousand downloads total - 4 stars on GitHub - 1 maintainer
trapper_macro 1.0.0
A proc-macro crate for easily building wrapper types with trapper
1 version - Latest release: almost 5 years ago - 1 dependent package - 1.53 thousand downloads total - 2 stars on GitHub - 1 maintainer
newtype-enum 0.1.0
Traits to convert between enums and their variant types.
1 version - Latest release: almost 4 years ago - 1 dependent repositories - 3.74 thousand downloads total - 2 stars on GitHub - 1 maintainer
id_collections 1.0.1
Index-oriented programming in Rust
2 versions - Latest release: almost 2 years ago - 2 dependent packages - 1 dependent repositories - 1.57 thousand downloads total - 5 stars on GitHub - 1 maintainer
typed-fields 0.1.0 💰
A collection of macros that generate newtypes
1 version - Latest release: 3 months ago - 402 downloads total - 0 stars on GitHub - 1 maintainer
newtype-enum-macro 0.1.0
Procedural macro to generate newtype enums.
1 version - Latest release: almost 4 years ago - 1 dependent package - 1 dependent repositories - 4.28 thousand downloads total - 2 stars on GitHub - 1 maintainer
newtype-derive-2018 0.2.3
This crate provides macros for deriving common traits for newtype structures.
13 versions - Latest release: 2 months ago - 3 dependent packages - 1 dependent repositories - 10.1 thousand downloads total - 1 stars on GitHub - 1 maintainer
Top 8.2% on crates.io
nutype 0.4.2
The newtype with guarantees.
11 versions - Latest release: about 1 month ago - 5 dependent packages - 10 dependent repositories - 258 thousand downloads total - 1,158 stars on GitHub - 1 maintainer
nutype_macros 0.4.2
The newtype with guarantees.
10 versions - Latest release: about 1 month ago - 1 dependent package - 9 dependent repositories - 256 thousand downloads total - 1,158 stars on GitHub - 1 maintainer
Top 6.0% on crates.io
newtype_derive 0.1.6
This crate provides macros for deriving common traits for newtype structures.
5 versions - Latest release: almost 8 years ago - 28 dependent packages - 160 dependent repositories - 706 thousand downloads total - 108 stars on GitHub - 1 maintainer
Top 8.1% on crates.io
exitfailure 0.5.1
A basic newtype wrappers for use with ? in main
10 versions - Latest release: almost 6 years ago - 161 dependent packages - 202 dependent repositories - 432 thousand downloads total - 43 stars on GitHub - 1 maintainer
ref-ops 0.2.5
An escape hatch for implementing `ops` traits for references to newtypes.
9 versions - Latest release: 7 months ago - 1 dependent package - 2.69 thousand downloads total - 0 stars on GitLab.com - 1 maintainer
forwarding_gen 0.1.0
Syntax processing for emulating OOP Inheritance in Rust by forwarding trait methods
1 version - Latest release: 10 months ago - 1 dependent package - 586 downloads total - 1 stars on GitHub - 1 maintainer
g2p 1.0.1
A crate to create types that implement fast finite field arithmetic.
10 versions - Latest release: over 1 year ago - 3 dependent packages - 49 dependent repositories - 301 thousand downloads total - 5 stars on GitHub - 1 maintainer
g2gen 1.0.1
A macro to create types that implement fast finite field arithmetic.
6 versions - Latest release: over 1 year ago - 1 dependent package - 48 dependent repositories - 298 thousand downloads total - 5 stars on GitHub - 1 maintainer
synonym 0.1.1
Customizable derive macro to create newtypes. It peeks into the underlying type to choose which t...
7 versions - Latest release: 6 months ago - 1 dependent repositories - 103 thousand downloads total - 1 stars on GitHub - 1 maintainer
string-newtype 0.1.1
New Type idiom helper for string-like types
2 versions - Latest release: 17 days ago - 175 downloads total - 1 maintainer
open-enum-derive 0.5.0
An attribute for generating "open" C-like enums, those that accept any integer value, by using a ...
6 versions - Latest release: 3 months ago - 1 dependent package - 1 dependent repositories - 54.6 thousand downloads total - 1 stars on GitHub - 1 maintainer
forward-traits 3.1.0
A general trait-forwarding crate
8 versions - Latest release: 18 days ago - 2.21 thousand downloads total - 0 stars on GitHub - 1 maintainer
open-enum 0.5.0
An attribute for generating "open" fieldless enums, those that accept any integer value, by using...
6 versions - Latest release: 3 months ago - 2 dependent packages - 1 dependent repositories - 54.4 thousand downloads total - 1 stars on GitHub - 1 maintainer
identified_vec_macros
A macro which allows you to create IdentifiedVecOf newtypes which act as if they were IdentifiedV...
1 version - Latest release: 18 days ago - 224 downloads total - 4 stars on GitHub - 1 maintainer
forwarding 0.1.0
Procedural macros for emulating OOP Inheritance in Rust by forwarding trait methods
1 version - Latest release: 10 months ago - 1 dependent package - 1 dependent repositories - 420 downloads total - 1 stars on GitHub - 1 maintainer
Top 8.7% on crates.io
diesel-derive-newtype 2.1.2
Automatically connect newtypes to Diesel using their wrapped type
13 versions - Latest release: 20 days ago - 6 dependent packages - 59 dependent repositories - 407 thousand downloads total - 45 stars on GitHub - 1 maintainer
fast_new_type 0.1.7
A proc_macro attribute to implement common traits for a custom type wrapping other.
8 versions - Latest release: over 4 years ago - 1 dependent package - 3.95 thousand downloads total - 1 maintainer
derive_from 0.1.1
A simple derive(From) macro
1 version - Latest release: about 8 years ago - 1.59 thousand downloads total - 1,370 stars on GitHub - 1 maintainer
index_vec 0.1.3
Newtype-style helpers for `Vec` and `usize`.
9 versions - Latest release: over 2 years ago - 9 dependent packages - 34 dependent repositories - 149 thousand downloads total - 10 stars on GitHub - 1 maintainer
validated_newtype 0.1.1
Simple newtypes with checked predicates (primarily for serde)
2 versions - Latest release: over 4 years ago - 1 dependent repositories - 2.98 thousand downloads total - 4 stars on GitHub - 1 maintainer
usage 1.4.0
A convenient alternative to the newtype pattern.
5 versions - Latest release: over 2 years ago - 1.73 thousand downloads total - 3 stars on GitHub - 1 maintainer
fmt_adapter 0.2.1
Provides newtype adaptors to and from any formatting trait
3 versions - Latest release: about 4 years ago - 992 downloads total - 0 stars on GitHub - 1 maintainer
new_type 0.4.1
Experimental implementation of newtypes by type level logic.
5 versions - Latest release: over 1 year ago - 2.17 thousand downloads total - 0 stars on GitHub - 1 maintainer