crates.io "newtype" keyword
View the packages on the crates.io package registry that are tagged with the "newtype" keyword.
Top 1.9% on crates.io
49 versions - Latest release: 6 months ago - 1,800 dependent packages - 24,555 dependent repositories - 157 million downloads total - 1,721 stars on GitHub - 1 maintainer
derive_more 2.0.1
Adds #[derive(x)] macros for more traits49 versions - Latest release: 6 months ago - 1,800 dependent packages - 24,555 dependent repositories - 157 million downloads total - 1,721 stars on GitHub - 1 maintainer
aliri_braid_examples 0.4.0
Examples demonstrating usage of the `aliri_braid` crate10 versions - Latest release: about 2 years ago - 12 thousand downloads total - 32 stars on GitHub - 1 maintainer
forwarding 0.1.0
Procedural macros for emulating OOP Inheritance in Rust by forwarding trait methods1 version - Latest release: about 2 years ago - 1 dependent package - 1 dependent repositories - 1.68 thousand downloads total - 3 stars on GitHub - 1 maintainer
nnn 1.1.0
Generate your newtypes from a single macro.9 versions - Latest release: 5 months ago - 5.24 thousand downloads total - 16 stars on GitHub - 1 maintainer
nnn-macros 1.1.0
Generate your newtypes from a single macro.4 versions - Latest release: 5 months ago - 1.95 thousand downloads total - 16 stars on GitHub - 1 maintainer
oxc_index 3.0.0 💰
Newtype-style helpers for `Vec` and `usize`.71 versions - Latest release: 5 months ago - 7 dependent packages - 2.14 million downloads total - 8,992 stars on GitHub - 1 maintainer
g2p 1.2.2
A crate to create types that implement fast finite field arithmetic.14 versions - Latest release: 4 months ago - 4 dependent packages - 49 dependent repositories - 2.29 million downloads total - 7 stars on GitHub - 1 maintainer
nova 0.5.4 💰
Macro to derive newtypes with support for serde and sqlx.14 versions - Latest release: almost 3 years ago - 3 dependent repositories - 23.2 thousand downloads total - 4 stars on GitHub - 1 maintainer
open-enum-derive 0.5.2
An attribute for generating "open" C-like enums, those that accept any integer value, by using a ...8 versions - Latest release: about 1 year ago - 1 dependent package - 1 dependent repositories - 338 thousand downloads total - 18 stars on GitHub - 1 maintainer
open-enum 0.5.2
An attribute for generating "open" fieldless enums, those that accept any integer value, by using...8 versions - Latest release: about 1 year ago - 2 dependent packages - 1 dependent repositories - 337 thousand downloads total - 18 stars on GitHub - 1 maintainer
nova-impl 0.5.4 💰
Implementation for nova crate.9 versions - Latest release: almost 3 years ago - 1 dependent package - 1 dependent repositories - 19.1 thousand downloads total - 4 stars on GitHub - 1 maintainer
newtype-enum-macro 0.1.0
Procedural macro to generate newtype enums.1 version - Latest release: about 5 years ago - 1 dependent package - 1 dependent repositories - 5.5 thousand downloads total - 2 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: 7 days ago - 1.07 thousand downloads total - 5 stars on GitHub - 1 maintainer
newtype-uuid 1.2.4
Newtype wrapper around UUIDs13 versions - Latest release: about 1 month ago - 2 dependent packages - 2.19 million downloads total - 32 stars on GitHub - 1 maintainer
rvs_derive 0.3.2
A helper macros implementation for Value Classes in Rust12 versions - Latest release: over 2 years ago - 1 dependent package - 7 dependent repositories - 1.24 million downloads total - 4 stars on GitHub - 1 maintainer
synonym 0.1.6
Customizable derive macro to create newtypes. It peeks into the underlying type to choose which t...12 versions - Latest release: 10 months ago - 1 dependent repositories - 137 thousand downloads total - 15 stars on GitHub - 1 maintainer
nutype_macros 0.6.1
The newtype with guarantees.18 versions - Latest release: 6 months ago - 1 dependent package - 9 dependent repositories - 2.25 million downloads total - 1,569 stars on GitHub - 1 maintainer
Top 8.2% on crates.io
19 versions - Latest release: 6 months ago - 8 dependent packages - 10 dependent repositories - 2.25 million downloads total - 1,569 stars on GitHub - 1 maintainer
nutype 0.6.1
The newtype with guarantees.19 versions - Latest release: 6 months ago - 8 dependent packages - 10 dependent repositories - 2.25 million downloads total - 1,569 stars on GitHub - 1 maintainer
tagged-core 0.5.0 💰
A lightweight tagged type abstraction for type-safe IDs, etc.5 versions - Latest release: 26 days ago - 1.04 thousand downloads total - 2 stars on GitHub - 1 maintainer
id_collections 1.0.1
Index-oriented programming in Rust2 versions - Latest release: about 3 years ago - 2 dependent packages - 1 dependent repositories - 14.3 thousand downloads total - 5 stars on GitHub - 1 maintainer
newer-type-std 0.2.0
Support defining newtype wrapper with inheriting trait implementations1 version - Latest release: 9 days ago - 0 downloads total - 1 stars on GitHub - 1 maintainer
newer-type-macro 0.2.0 💰
Support defining newtype wrapper with inheriting trait implementations4 versions - Latest release: 9 days ago - 1.33 thousand downloads total - 1 stars on GitHub - 1 maintainer
newer-type 0.2.0 💰
Support defining newtype wrapper with inheriting trait implementations4 versions - Latest release: 9 days ago - 1.32 thousand downloads total - 1 stars on GitHub - 1 maintainer
newnit 0.1.2
A rich newtype library for units of quantity.3 versions - Latest release: 5 months ago - 1.42 thousand downloads total - 0 stars on GitHub - 1 maintainer
usage 1.4.0
A convenient alternative to the newtype pattern.5 versions - Latest release: over 3 years ago - 1 dependent package - 6.87 thousand downloads total - 3 stars on GitHub - 1 maintainer
Top 9.8% on crates.io
10 versions - Latest release: 6 months ago - 1 dependent package - 1 dependent repositories - 29.6 million downloads total - 1,959 stars on GitHub - 1 maintainer
derive_more-impl 2.0.1 💰
Internal implementation of `derive_more` crate10 versions - Latest release: 6 months ago - 1 dependent package - 1 dependent repositories - 29.6 million downloads total - 1,959 stars on GitHub - 1 maintainer
forwarding_gen 0.1.0
Syntax processing for emulating OOP Inheritance in Rust by forwarding trait methods1 version - Latest release: about 2 years ago - 1 dependent package - 1.96 thousand downloads total - 3 stars on GitHub - 1 maintainer
valobs 0.1.0
Valobs - A collection of commonly used value objects in enterprise applications2 versions - Latest release: over 1 year ago - 2.26 thousand downloads total - 1 stars on GitHub - 1 maintainer
new_type 0.4.1
Experimental implementation of newtypes by type level logic.5 versions - Latest release: over 2 years ago - 6.7 thousand downloads total - 1 stars on GitHub - 1 maintainer
trapper_macro 1.0.0
A proc-macro crate for easily building wrapper types with trapper1 version - Latest release: almost 6 years ago - 1 dependent package - 2.75 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: about 5 years ago - 1 dependent repositories - 4.79 thousand downloads total - 2 stars on GitHub - 1 maintainer
validated_newtype 0.1.1
Simple newtypes with checked predicates (primarily for serde)2 versions - Latest release: over 5 years ago - 1 dependent repositories - 5.24 thousand downloads total - 4 stars on GitHub - 1 maintainer
Top 6.0% on crates.io
5 versions - Latest release: about 9 years ago - 29 dependent packages - 160 dependent repositories - 1.12 million downloads total - 112 stars on GitHub - 1 maintainer
newtype_derive 0.1.6
This crate provides macros for deriving common traits for newtype structures.5 versions - Latest release: about 9 years ago - 29 dependent packages - 160 dependent repositories - 1.12 million downloads total - 112 stars on GitHub - 1 maintainer
invariant 0.0.2
A library for creating wrapper types that enforce invariants.2 versions - Latest release: almost 9 years ago - 3.71 thousand downloads total - 4 stars on GitHub - 1 maintainer
Top 9.3% on crates.io
9 versions - Latest release: over 5 years ago - 63 dependent packages - 224 dependent repositories - 1.27 million downloads total - 28 stars on gitlab.com - 1 maintainer
shrinkwraprs 0.3.0
Auto-derive for Rust conversion traits -- make working with newtypes a breeze9 versions - Latest release: over 5 years ago - 63 dependent packages - 224 dependent repositories - 1.27 million downloads total - 28 stars on gitlab.com - 1 maintainer
newnit_derive 0.1.2
A derive macro package for the Newnit library.3 versions - Latest release: 5 months ago - 1.43 thousand downloads total - 0 stars on GitHub - 1 maintainer
derive_from 0.1.1 💰
A simple derive(From) macro1 version - Latest release: over 9 years ago - 2.7 thousand downloads total - 1,953 stars on GitHub - 1 maintainer
nutype_test_util 0.1.3
Ergonomically create newtypes in tests4 versions - Latest release: 30 days ago - 667 downloads total - 0 stars on GitHub - 1 maintainer
index_vec 0.1.4
Newtype-style helpers for `Vec` and `usize`.10 versions - Latest release: 12 months ago - 11 dependent packages - 34 dependent repositories - 607 thousand downloads total - 19 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: almost 2 years ago - 1 dependent package - 10.6 thousand downloads total - 0 stars on gitlab.com - 1 maintainer
seventy-macros 0.4.0
Procedural macros for Seventy4 versions - Latest release: 5 months ago - 2.12 thousand downloads total - 4 stars on GitHub - 1 maintainer
seventy 0.4.0
Newtype sanitization and validation4 versions - Latest release: 5 months ago - 2.07 thousand downloads total - 5 stars on GitHub - 2 maintainers
into_inner_derive 0.1.2
Derive macro for IntoInner trait3 versions - Latest release: about 2 months ago - 861 downloads total - 1 maintainer
newtypedecl 0.0.0
declarative newtype macro1 version - Latest release: over 1 year ago - 1.21 thousand downloads total - 1 maintainer
option-like 0.1.4
Create your own Option-like enum5 versions - Latest release: 4 months ago - 2.08 thousand downloads total - 0 stars on GitHub - 1 maintainer
Top 8.7% on crates.io
13 versions - Latest release: over 1 year ago - 6 dependent packages - 59 dependent repositories - 753 thousand downloads total - 53 stars on GitHub - 1 maintainer
diesel-derive-newtype 2.1.2
Automatically connect newtypes to Diesel using their wrapped type13 versions - Latest release: over 1 year ago - 6 dependent packages - 59 dependent repositories - 753 thousand downloads total - 53 stars on GitHub - 1 maintainer
string-newtype 0.1.2
New Type idiom helper for string-like types3 versions - Latest release: about 1 month ago - 2.37 thousand downloads total - 0 stars on GitHub - 1 maintainer
fmt_adapter 0.2.1
Provides newtype adaptors to and from any formatting trait3 versions - Latest release: over 5 years ago - 3.51 thousand downloads total - 0 stars on GitHub - 1 maintainer
g2gen 1.2.2
A macro to create types that implement fast finite field arithmetic.10 versions - Latest release: 4 months ago - 1 dependent package - 48 dependent repositories - 2.18 million downloads total - 7 stars on GitHub - 1 maintainer
trapper 2.0.0
A library for creating newtypes that don't require ownership of their internal value2 versions - Latest release: almost 6 years ago - 1 dependent package - 1 dependent repositories - 3.4 thousand downloads total - 2 stars on GitHub - 1 maintainer
thisisplural 0.7.0 💰
#[derive(Plural)] for creating frictionless new types with any collection type like Vec or HashMap9 versions - Latest release: 3 months ago - 9.68 thousand downloads total - 4 stars on GitHub - 1 maintainer
Top 8.1% on crates.io
10 versions - Latest release: almost 7 years ago - 164 dependent packages - 202 dependent repositories - 550 thousand downloads total - 45 stars on GitHub - 1 maintainer
exitfailure 0.5.1
A basic newtype wrappers for use with ? in main10 versions - Latest release: almost 7 years ago - 164 dependent packages - 202 dependent repositories - 550 thousand downloads total - 45 stars on GitHub - 1 maintainer
typed-fields 0.4.3
A collection of macros that generate newtypes7 versions - Latest release: 25 days ago - 5.94 thousand downloads total - 0 stars on GitHub - 1 maintainer
phantom_newtype 0.2.0
Lightweight newtypes without macros.2 versions - Latest release: over 5 years ago - 1 dependent package - 2 dependent repositories - 5.2 thousand downloads total - 25 stars on GitHub - 1 maintainer
into_inner 0.1.2
IntoInner trait for Rust newtypes2 versions - Latest release: about 2 months ago - 544 downloads total - 1 maintainer
newtype-derive-2018 0.2.3
This crate provides macros for deriving common traits for newtype structures.13 versions - Latest release: over 1 year ago - 3 dependent packages - 1 dependent repositories - 23.6 thousand downloads total - 1 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 5 years ago - 1 dependent package - 10.9 thousand downloads total - 1 maintainer
rust-tagged 0.3.0
A lightweight tagged type abstraction for type-safe IDs, etc.3 versions - Latest release: 28 days ago - 196 downloads total - 0 stars on GitHub - 1 maintainer
rvstruct 0.3.2
A helper macros implementation for Value Classes in Rust7 versions - Latest release: over 2 years ago - 7 dependent packages - 11 dependent repositories - 1.1 million downloads total - 4 stars on GitHub - 1 maintainer
forward-traits 3.1.0
A general trait-forwarding crate8 versions - Latest release: over 1 year ago - 9.8 thousand downloads total - 0 stars on GitHub - 1 maintainer
byte-fmt 0.1.0
B64 and AB newtype for parsing and printing2 versions - Latest release: over 2 years ago - 2 dependent packages - 1 dependent repositories - 2.58 thousand downloads total - 7 stars on GitHub - 1 maintainer
aliri_braid 0.4.0
Improve and strengthen your strings by making them strongly-typed with less boilerplate19 versions - Latest release: about 2 years ago - 18 dependent packages - 26 dependent repositories - 1.64 million downloads total - 32 stars on GitHub - 1 maintainer
nova-macro 0.5.4 💰
Implementation for nova crate.9 versions - Latest release: almost 3 years ago - 1 dependent package - 1 dependent repositories - 18.1 thousand downloads total - 4 stars on GitHub - 1 maintainer
Related Keywords
rust
17
derive
16
macro
15
trait
10
validation
9
sanitization
6
string
6
macros
5
vec
5
wrapper
5
invariant
5
proc-macro
4
uuid
4
enum
4
integers
3
id
3
dataclass
3
vector
3
index
3
forwarding
3
attribute-macro
3
developer-tools
3
crate
2
measurement
2
into_inner
2
type-safe
2
unique
2
quantity
2
tagged-union
2
value
2
class
2
tagged
2
web
2
data
2
data-structures
2
invariance
2
invariants
2
rust-lang
2
rust-library
2
sanitizer
2
typesafety
2
validator
2
unit
2
no_std
2
open
2
integer
2
finite-field
2
galois
2
custom_derive
2
normalization
2
composition
2
oop
2
inheritance
2
usize
2
indexed
2
from
1
wrapper-type
1
conversion
1
convert
1
test
1
ops
1
ref
1
impl
1
option
1
base64
1
abe
1
forward
1
delegation
1
construct
1
attribute
1
macro-attr
1
library
1
exitfailure
1
failure
1
command-line
1
cli
1
error
1
hashmap
1
collection
1
displayfromdebug
1
fmt
1
adapter
1
format
1
diesel
1
custom-derive
1
display
1
add
1
intoiterator
1
compiler
1
javascript
1
linter
1
minifier
1
parser
1
typescript
1
identified_vec_of
1
via
1
identified_vec
1
identifiable
1
btreeset
1
identified-vec
1