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

crates.io "struct" keyword

struct_to_array 0.2.0
Convert between homogeneous structs and fixed-size arrays
3 versions - Latest release: 3 months ago - 343 downloads total - 1 maintainer
struct-to-enum-macros 1.0.1
Derive macros for generating enums from structs.
2 versions - Latest release: about 1 month ago - 12 downloads total - 1 stars on GitHub - 1 maintainer
algostru 0.4.0
Algorithms (algo) and Data Structures (stru)
4 versions - Latest release: over 5 years ago - 6.07 thousand downloads total - 4 stars on GitHub - 1 maintainer
overlay_macro 2.0.0
A proc-macro for implementing Overlay, to reinterpret a slice of bytes as a bit/byte packed struct
6 versions - Latest release: almost 2 years ago - 7.22 thousand downloads total - 1 maintainer
builder-pattern-macro 0.4.2
A macro crate for builder-pattern. Do not use this crate directly.
3 versions - Latest release: over 4 years ago - 1 dependent package - 1 dependent repositories - 68.6 thousand downloads total - 1 maintainer
size-rs 0.2.0
Tells the size of some structures available on the system
2 versions - Latest release: 6 months ago - 1.68 thousand downloads total - 1 stars on GitHub - 1 maintainer
typeables 2.3.0
Typeables: Rust crate of type aliases. By SixArm.com.
8 versions - Latest release: about 4 years ago - 10.6 thousand downloads total - 4 stars on GitHub - 1 maintainer
aoi
struct based web framework
1 version - Latest release: about 1 month ago - 1.48 thousand downloads total - 0 stars on GitHub - 1 maintainer
object-type 0.1.1
struct Object - wrapper for anything type.
2 versions - Latest release: over 2 years ago - 2.63 thousand downloads total - 0 stars on GitHub - 1 maintainer
struct-validation-core 0.1.2
Core functionality for struct validation, including traits and error types.
3 versions - Latest release: over 1 year ago - 2.59 thousand downloads total - 0 stars on GitHub - 1 maintainer
descriptor 0.0.4
A simple to use struct descriptor
5 versions - Latest release: over 4 years ago - 30.1 thousand downloads total - 5 stars on GitHub - 1 maintainer
byte_struct 0.9.0
Pack and unpack structure as raw bytes with packed or bit field layout.
13 versions - Latest release: about 3 years ago - 1 dependent package - 5 dependent repositories - 68.8 thousand downloads total - 4 stars on GitHub - 1 maintainer
memory-layout 0.3.0
explicit struct layouts.
3 versions - Latest release: almost 3 years ago - 4.01 thousand downloads total - 7 stars on GitHub - 1 maintainer
strung 0.1.4
Easy access of struct fields in strings using different/custom pre/postfix: "Hello, {field}"
5 versions - Latest release: over 2 years ago - 1 dependent package - 7.57 thousand downloads total - 68 stars on GitHub - 1 maintainer
make_public 0.1.0
A procedural macro to make struct fields public
1 version - Latest release: about 1 year ago - 833 downloads total - 0 stars on GitHub - 1 maintainer
structify 0.1.0
A procedural macro to transform functions into structs with state and execution dependencies
1 version - Latest release: over 1 year ago - 1.06 thousand downloads total - 1 stars on GitHub - 1 maintainer
enum-struct 0.1.1
Add shared fields to each variant of the enum
2 versions - Latest release: 7 months ago - 548 downloads total - 0 stars on GitHub - 1 maintainer
url_query_string 0.1.0
A Rust procedural macro for generating methods to serialize structs into URL query strings. Provi...
1 version - Latest release: over 1 year ago - 1.47 thousand downloads total - 1 maintainer
structible 0.5.0
A macro for defining virtual structs backed by maps
5 versions - Latest release: 2 months ago - 214 downloads total - 1 maintainer
anony 0.6.2
Anonymous struct
14 versions - Latest release: 6 months ago - 16.3 thousand downloads total - 1 stars on GitHub - 1 maintainer
simple_tables 0.3.0 💰
An easy to use rust crate for creating table structures. Including macros for easily creating the...
5 versions - Latest release: over 4 years ago - 1 dependent package - 14.5 thousand downloads total - 3 stars on GitHub - 1 maintainer
struct-convert 1.4.0
Auto Convert between structs
16 versions - Latest release: 12 months ago - 1 dependent repositories - 38.1 thousand downloads total - 16 stars on GitHub - 1 maintainer
lilys-new-macro 0.1.1
Macro for generating a 'new' constructor function
2 versions - Latest release: about 1 year ago - 1.34 thousand downloads total - 0 stars on GitHub - 1 maintainer
fuzzy_fraction 0.1.2
Struct for approximated human-readable fraction representation..
3 versions - Latest release: almost 3 years ago - 1 dependent repositories - 4.18 thousand downloads total - 0 stars on GitHub - 1 maintainer
structview 1.1.0
Viewing binary data as high-level data structures, safely.
6 versions - Latest release: almost 6 years ago - 1 dependent package - 8 dependent repositories - 83.1 thousand downloads total - 13 stars on gitlab.com - 1 maintainer
howlast 0.1.2
A procedural macro to easily misure computation times.
3 versions - Latest release: about 1 year ago - 2.23 thousand downloads total - 0 stars on GitHub - 1 maintainer
dir-obj 0.1.0
simple directory object that has files with data
1 version - Latest release: over 9 years ago - 2.37 thousand downloads total - 0 stars on GitHub - 1 maintainer
Top 2.4% on crates.io
derive_builder 0.20.2
Rust macro to automatically implement the builder pattern for arbitrary structs.
34 versions - Latest release: over 1 year ago - 755 dependent packages - 4,058 dependent repositories - 126 million downloads total - 1,534 stars on GitHub - 2 maintainers
Top 5.3% on crates.io
derive_builder_macro 0.20.2
Rust macro to automatically implement the builder pattern for arbitrary structs.
13 versions - Latest release: over 1 year ago - 1 dependent package - 3,318 dependent repositories - 118 million downloads total - 1,534 stars on GitHub - 1 maintainer
borrow 2.0.0 💰
Zero-overhead, safe implementation of partial borrows. This crate allows you to borrow selected f...
11 versions - Latest release: 7 months ago - 35.9 thousand downloads total - 522 stars on GitHub - 1 maintainer
alignment-exporter 0.1.3
Proc macro providing alignment info for a user-defined struct.
4 versions - Latest release: over 1 year ago - 4.34 thousand downloads total - 0 stars on GitHub - 1 maintainer
array-as-struct 0.1.0
A crate to make ergonomic "field" accesses on array types
1 version - Latest release: about 2 years ago - 1.72 thousand downloads total - 0 stars on GitHub - 1 maintainer
Top 4.5% on crates.io
spirv_headers 1.5.0
Rust definition of SPIR-V structs and enums
15 versions - Latest release: over 5 years ago - 11 dependent packages - 570 dependent repositories - 1.13 million downloads total - 438 stars on GitHub - 4 maintainers
doless_macros 0.4.2
A Rust macro to simplify struct mapping and function utilities.
2 versions - Latest release: 6 months ago - 518 downloads total - 0 stars on GitHub - 1 maintainer
structz 0.6.1
Anonymous struct implementation in rust
23 versions - Latest release: over 1 year ago - 25.7 thousand downloads total - 9 stars on GitHub - 1 maintainer
struple-impl 0.2.0 💰
Derive implementation for struple::Struple
2 versions - Latest release: 12 months ago - 1 dependent package - 1 dependent repositories - 13.2 thousand downloads total - 5 stars on GitHub - 1 maintainer
intuple 0.2.0
Convert structs and enums into tuples (of refs) and back - recursive, ignore fields
2 versions - Latest release: over 2 years ago - 2 dependent packages - 1 dependent repositories - 4.41 thousand downloads total - 11 stars on GitHub - 1 maintainer
variant-map-derive 0.1.0
derive macro for the variant-map crate, adds another type called StructMap
1 version - Latest release: over 2 years ago - 1 dependent package - 1.89 thousand downloads total - 1 stars on GitHub - 1 maintainer
field_comparable_derive 0.1.1
Procedural macro to generate struct field comparison methods / Macro procédurale pour générer des...
2 versions - Latest release: 8 months ago - 700 downloads total - 0 stars on gitlab.com - 1 maintainer
inter-struct 0.2.1
Automatically generated traits for arbitrary structs.
3 versions - Latest release: over 2 years ago - 1 dependent repositories - 31.7 thousand downloads total - 20 stars on GitHub - 1 maintainer
tablefy_derive 0.2.1
A procedural macro to help Tablefy any struct!
4 versions - Latest release: over 6 years ago - 1 dependent package - 1 dependent repositories - 28 thousand downloads total - 7 stars on GitHub - 1 maintainer
doless_core 0.4.2
A Rust macro to simplify struct mapping and function utilities.
3 versions - Latest release: 6 months ago - 722 downloads total - 0 stars on GitHub - 1 maintainer
intuple_derive 0.2.0
derive for intuple
2 versions - Latest release: over 2 years ago - 1 dependent package - 4.99 thousand downloads total - 11 stars on GitHub - 1 maintainer
cmp 1.0.0 💰
Simple, convenience macros and function for comparing.
4 versions - Latest release: 9 months ago - 1 dependent repositories - 37.8 thousand downloads total - 0 stars on GitHub - 1 maintainer
append_to_string 0.1.0
The append_to_string!() macro. Appends every occurance of a literal within a struct or on its own...
1 version - Latest release: over 3 years ago - 1 dependent repositories - 1.77 thousand downloads total - 0 stars on GitHub - 1 maintainer
structinator_traits 0.2.0
Library for traits allowing transfer of data from iterators to structs
7 versions - Latest release: almost 2 years ago - 1 dependent package - 8.87 thousand downloads total - 0 stars on GitHub - 1 maintainer
struct-validation 0.1.3
A simple trait and derive to validate structs and return a list of errors.
4 versions - Latest release: over 1 year ago - 2.91 thousand downloads total - 0 stars on GitHub - 1 maintainer
filestruct 0.3.0
Read a directory into a Rust struct
2 versions - Latest release: almost 3 years ago - 2.73 thousand downloads total - 2 stars on GitHub - 1 maintainer
tynamed_macros 0.1.1
A macro that gives a name to a struct or enum
2 versions - Latest release: 6 months ago - 454 downloads total - 0 stars on GitHub - 1 maintainer
field-kinds 0.6.0
Derive macro for compile-time struct field type introspection
7 versions - Latest release: about 1 month ago - 146 downloads total - 3 stars on GitHub - 1 maintainer
field 0.1.0
Statically-verified struct field names as strings.
1 version - Latest release: almost 3 years ago - 1 dependent repositories - 33.8 thousand downloads total - 4 stars on GitHub - 1 maintainer
struct-reflection-derive 0.1.0
Derive macro implementation for struct-reflection
1 version - Latest release: 8 months ago - 496 downloads total - 1 maintainer
podstru-derive 0.1.1
Automatically implement getters/setters for a POD-like struct
2 versions - Latest release: over 1 year ago - 1.95 thousand downloads total - 0 stars on GitHub - 1 maintainer
yuan-type-name-macro 0.1.1
A proc-macro to generate type_name() method for structs
2 versions - Latest release: 6 months ago - 407 downloads total - 1 maintainer
ffi_struct_trait 0.3.0
The trait bounds for `ffi_struct`
3 versions - Latest release: 6 months ago - 593 downloads total - 0 stars on GitHub - 1 maintainer
structible-macros 0.5.0
Proc macros for structible
5 versions - Latest release: 2 months ago - 248 downloads total - 1 maintainer
struct-to-enum 1.1.2
Derive macros to generate enums from struct fields - compile-time safe field selection and dispatch
5 versions - Latest release: about 1 month ago - 79 downloads total - 1 stars on GitHub - 1 maintainer
overlay 1.0.1
An Overlay trait for reinterpreting a slice of bytes as an arbitrary type
3 versions - Latest release: almost 2 years ago - 3.1 thousand downloads total - 1 maintainer
tablefy 0.1.3
An easy way to display any struct as a table!
4 versions - Latest release: over 6 years ago - 1 dependent repositories - 26.3 thousand downloads total - 7 stars on GitHub - 1 maintainer
struct_field_names 0.2.1
Derive macros for generating the name of each field in a struct and each variant name in an enum ...
3 versions - Latest release: almost 5 years ago - 1 dependent package - 2 dependent repositories - 13.7 thousand downloads total - 2 stars on GitHub - 1 maintainer
fieldx_plus 0.1.12
Design patterns built on top of fieldx crate
12 versions - Latest release: 9 months ago - 8.15 thousand downloads total - 1 stars on GitHub - 1 maintainer
serde-struct-tuple-enum-proc-macro 0.1.0
Procedural macro for deserializing an enum of structs from tuples.
1 version - Latest release: over 1 year ago - 3.56 thousand downloads total - 1 maintainer
struct_as_array2 0.3.1
A Rust library that allows you to represent the structure as an array. Ported from https://github...
2 versions - Latest release: about 1 year ago - 1.43 thousand downloads total - 0 stars on GitHub - 1 maintainer
partially 0.2.1
Provides the Partial trait, and an optional macro to mirror a struct, wrapping each field in an O...
4 versions - Latest release: about 2 years ago - 475 thousand downloads total - 1 maintainer
struct_scalpel 0.1.1
memory layout analysis tool for structs, enums, unions, tuples, and references
2 versions - Latest release: almost 3 years ago - 2.81 thousand downloads total - 9 stars on GitHub - 1 maintainer
kv-derive 1.0.1 💰
Derive struct conversions from and to key-value vectors
17 versions - Latest release: almost 4 years ago - 1 dependent package - 2 dependent repositories - 23.6 thousand downloads total - 4 stars on GitHub - 1 maintainer
makeit 0.1.1
Compile-time checked Builder pattern `derive` macro with zero-memory overhead
2 versions - Latest release: about 4 years ago - 3.4 thousand downloads total - 221 stars on GitHub - 1 maintainer
ortho_vec_derive 0.1.0
Derive orthogonal vector structure for better CPU cache usage
1 version - Latest release: almost 3 years ago - 1.51 thousand downloads total - 3 stars on GitHub - 1 maintainer
structx 0.1.11
Simulating anonymous struct and named arguments in Rust.
12 versions - Latest release: over 2 years ago - 2 dependent packages - 1 dependent repositories - 15.4 thousand downloads total - 79 stars on GitHub - 1 maintainer
opt_args 2.0.0
Create macros for functions and structs with default values
4 versions - Latest release: about 2 years ago - 5.38 thousand downloads total - 0 stars on GitHub - 1 maintainer
variants-data-struct 0.3.0
A derive macro to convert enums into a struct where the variants are members and types are that t...
3 versions - Latest release: 6 months ago - 632 downloads total - 0 stars on GitHub - 1 maintainer
serde_json_any_key 2.1.0
Workaround for "key must be a string" error with serde_json. De/serialize any HashMap<K,V>, Vec<K...
5 versions - Latest release: about 1 month ago - 3 dependent packages - 7 dependent repositories - 539 thousand downloads total - 9 stars on GitHub - 1 maintainer
name-index 0.2.1
Library for accessing struct fields by name at runtime
3 versions - Latest release: 7 months ago - 981 downloads total - 0 stars on GitHub - 1 maintainer
struct_to_string 0.2.0
A Rust proc-macro library to convert struct definitions to a string representation. An example us...
2 versions - Latest release: over 2 years ago - 2.87 thousand downloads total - 0 stars on GitHub - 1 maintainer
struct_morph 0.6.0
macro for morphing one struct into another.
6 versions - Latest release: about 2 years ago - 7.75 thousand downloads total - 6 stars on GitHub - 1 maintainer
struct-patch-derive 0.10.5
A library that helps you implement partial updates for your structs.
38 versions - Latest release: 27 days ago - 1 dependent package - 2 dependent repositories - 613 thousand downloads total - 13 stars on GitHub - 1 maintainer
numid 0.2.9
A macro for generating structures which behave like numerical id.
13 versions - Latest release: over 6 years ago - 17 thousand downloads total - 2 stars on GitHub - 1 maintainer
arraygen 0.3.2 💰
Derive macro for generating arrays from struct fields.
23 versions - Latest release: about 4 years ago - 1 dependent package - 6 dependent repositories - 44.3 thousand downloads total - 20 stars on GitHub - 1 maintainer
struct-merge 0.1.1
Automatically generated code for various structs merge-strategies.
2 versions - Latest release: about 4 years ago - 1 dependent package - 4.11 thousand downloads total - 3 stars on GitHub - 1 maintainer
tosql 0.1.16
Trait for SQL struct serialization / SQL结构体序列化Trait
10 versions - Latest release: 5 months ago - 687 downloads total - 0 stars on GitHub - 1 maintainer
kenzu 0.1.1
Procedural macros for builder pattern generation and validation
16 versions - Latest release: 6 months ago - 5.86 thousand downloads total - 2 stars on GitHub
syrial 0.3.0
A Rust library for streaming and serialization
3 versions - Latest release: 10 months ago - 1.49 thousand downloads total - 1 stars on GitHub - 1 maintainer
pgdb_to_struct 0.1.3
A Rust CLI application to generate Rust struct files from PostgreSQL database tables.
4 versions - Latest release: over 2 years ago - 5.02 thousand downloads total - 2 stars on GitHub - 1 maintainer
structfromdir 0.1.0
Derive macro to read from a directory into a Rust struct
1 version - Latest release: almost 3 years ago - 1.51 thousand downloads total - 2 stars on GitHub - 1 maintainer
doless 0.4.2
A Rust macro to simplify struct mapping , injects cache lookup logic directly into your functions...
6 versions - Latest release: 6 months ago - 2.7 thousand downloads total - 0 stars on GitHub - 1 maintainer
strunemix 0.6.1
Strunemix allows to build a struct with a form of its fields, by deriving enums of them
8 versions - Latest release: over 1 year ago - 6.91 thousand downloads total - 0 stars on GitHub - 1 maintainer
tynamed 0.1.1
A macro that gives a name to a struct or enum
2 versions - Latest release: 6 months ago - 345 downloads total - 0 stars on GitHub - 1 maintainer
struple 0.2.0 💰
Convert structures from and to tuples
3 versions - Latest release: 12 months ago - 13.6 thousand downloads total - 5 stars on GitHub - 1 maintainer
structr 0.1.0
Generate Rust structs from JSON data with framework integrations
1 version - Latest release: about 1 year ago - 732 downloads total - 11 stars on GitHub - 1 maintainer
umbra 0.4.0
A macro to generate optional structs
4 versions - Latest release: about 1 year ago - 11.9 thousand downloads total - 3 stars on GitHub - 1 maintainer
struct_layout 0.1.0
Customize your struct layout with this one weird trick.
1 version - Latest release: about 7 years ago - 1 dependent repositories - 2.27 thousand downloads total - 15 stars on GitHub - 1 maintainer
nest_struct 0.5.5
Nest struct and enum definitions with minimal syntax changes
17 versions - Latest release: 10 months ago - 52 thousand downloads total - 19 stars on GitHub - 1 maintainer
pstruct 0.1.3
A Rust procedural macro for generating pointer struct implementations with field offset access.
4 versions - Latest release: over 1 year ago - 3.14 thousand downloads total - 0 stars on GitHub - 1 maintainer
syrial-derive 0.1.0
Procedural macros for the syrial serialization library
1 version - Latest release: 10 months ago - 509 downloads total - 1 stars on GitHub - 1 maintainer
set_field 0.1.1
Set fields on structs by string
2 versions - Latest release: over 2 years ago - 3.35 thousand downloads total - 3 stars on GitHub - 1 maintainer
typeshaper 0.1.0
TypeScript utility-type idioms (Omit, Pick, Merge, Partial…) for Rust structs — one-line type alg...
1 version - Latest release: 7 days ago - 0 downloads total - 1 maintainer
typeshaper-macros 0.1.0
Proc-macro internals for the typeshaper crate — do not use directly
1 version - Latest release: 7 days ago - 0 downloads total - 1 maintainer
d_print 0.1.3
Print any struct in easy way
4 versions - Latest release: about 4 years ago - 5.47 thousand downloads total - 0 stars on GitHub - 1 maintainer
multi-structs 0.1.1 💰
Macro for generating a merged struct from multiple sub-structs
4 versions - Latest release: over 6 years ago - 6.55 thousand downloads total - 3 stars on GitHub - 1 maintainer
structx_derive 0.1.4
Macros for anonymous struct and named arguments.
5 versions - Latest release: almost 3 years ago - 1 dependent package - 8.02 thousand downloads total - 61 stars on GitHub - 1 maintainer