#struct-fields

  1. merge

    multiple values into one

    v0.2.0 58K #macro-derive #merge-strategies #struct-fields #value #hash-map #merge-struct
  2. repack

    Powerful model codegen

    v0.99.0 800 #blueprint #codegen #enums #schema-definition #struct-fields #template-engine #typescript #snippets #data-model #database
  3. darling_core

    Helper crate for proc-macro library for reading attributes into structs when implementing custom derives. Use https://crates.io/crates/darling in your code.

    v0.23.0 20.5M #proc-macro #proc-macro-attributes #ast #struct-fields #derive-input #proc-macro-helper #field-level #suggestions #validation-error #forwarded
  4. econf

    Load environment variables into your struct members in one shot

    v0.3.1 1.6K #env-vars #load-env #struct-fields #member #debugging #docker
  5. derive_setters

    Rust macro to automatically generates setter methods for a struct's fields

    v0.1.8 137K #struct-fields #setter-methods #proc-macro #field-setter #generator #builder-pattern
  6. reactive_stores

    Stores for holding deeply-nested reactive state while maintaining fine-grained reactive tracking

    v0.3.1 53K #store #struct-fields #reactive #deeply-nested #tracking #reactive-graph #fine-grained-reactivity #data-structures
  7. readonly

    Struct fields that are made read-only accessible to other modules

    v0.2.13 158K #struct-fields #accessible #no-alloc
  8. borrow

    Zero-overhead, safe implementation of partial borrows. This crate allows you to borrow selected fields from a struct and split structs into non-overlapping sets of borrowed fields.

    v2.0.0 3.6K #struct-fields #partial-borrow #reference #borrow-field
  9. termite-dmg

    Termite Data Model Generator is a crate meant to generate boiler plate code for data models

    v0.6.0 450 #data-model #model-generator #macro #yaml #json-schema #termite #yaml-data #struct-fields #datatype #cpp
  10. lucene_query_builder

    A procmacro derive crate to generate lucene query builder for Rust structs :

    v0.4.0 2.0K #query-builder #lucene #proc-macro #struct #struct-fields
  11. my-wgsl

    A WGSL compatibility check library

    v0.1.4 #wgsl #struct-fields
  12. struct-field-names-as-array

    generating the field names of named structs as constants

    v0.3.0 13K #struct-fields #reflection #introspection
  13. dyn_quantity

    Representing physical quantities dynamically (i.e. via values, not via the type system)

    v0.5.4 #physical-quantities #type-system #statically-typed #from-str #deserialize #uom #physical-units #struct-fields #exponent #compile-time
  14. serde-diff

    A small helper to serialize the diff of two structs of the same type and apply those differences to other structs

    v0.4.1 900 #serialization #struct-fields #struct-diff #difference #messagepack #deserialize #rmp-serde
  15. field_access

    Dynamically access struct fields

    v0.1.12 200 #struct-fields #access
  16. ortho_config

    A configuration management library for Rust, inspired by esbuild

    v0.6.0 360 #configuration-management #command-line-arguments #esbuild #subcommand #config-toml #struct-fields #precedence #orthographic #env-var #from-command-line
  17. firmware-controller

    Controller to decouple interactions between components in a no_std environment

    v0.4.2 #controller #no-std #decoupling #component #firmware #struct-fields #embedded-firmware #api-client #embassy #controller-logic
  18. optfield

    A macro that generates structs with optional fields

    v0.4.0 56K #struct-fields #options #optional-struct
  19. shrinkwrap

    Automates the wrapping and nesting of additional variations for some or all of a struct's fields

    v0.5.0 #struct-fields #variations #debugging #usd #wrap #nested-struct #automate #api-response #date-time #user-name
  20. metastruct

    Abstractions for iterating and mapping over struct fields

    v0.1.3 10K #struct-fields #iterator #field
  21. nanosql

    Tiny, strongly-typed data mapper for SQLite

    v0.10.0 850 #sql #sqlite #strong-typing #row #prepared-statement #mapper #structured-data #create-table #macro-derive #struct-fields
  22. partially

    Partial trait, and an optional macro to mirror a struct, wrapping each field in an Option

    v0.2.1 25K #struct-fields #optional-struct #struct
  23. pyo3_special_method_derive

    Automatically derive Python dunder methods for your Rust code

    v0.4.3 4.2K #automatic-derive #pyo3 #methods #string #dunder #repr #debugging #macro-derive #debug-display #struct-fields
  24. cliargs

    Parses command line arguments and prints the help

    v0.6.0 600 #arguments-parser #parse-command #command-arguments-parser #config-parser #command-line-arguments #struct-fields #array-string #print-help
  25. cmp

    convenience macros and function for comparing

    v1.0.0 #struct-fields #macro #compare #struct
  26. gpu_layout

    Share host types with GPU shaders, with various layout specifications

    v0.2.1 100 #gpu-shader #layout #host #share #std140 #std430 #struct-fields #repr #byte-slice
  27. partial-borrow

    Partially borrow a struct

    v1.0.1 #struct-fields #mutable-borrow #borrowing #module #prelude #accessible
  28. chain_link

    Micro library with a util for chaining operations on a single type

    v0.1.3 140 #struct-fields #traits #chaining #impl #length #3rd-party #im
  29. argcall

    Enables enums and structs to be callable by associating functions with their variants or fields

    v0.4.0 300 #enum-variant #struct-fields #enum-variants #callable #enums-and-structs #data-structures
  30. simple_parse

    A declarative converter for Rust type to and from binary

    v0.6.3 #binary-parser #byte-slice #declarative #binary-format #validation #sp #stream-parser #converter #binary-format-parser #struct-fields
  31. derive-with

    #[derive(With)] generates with-constructor for each field in struct

    v0.7.0 150 #struct-fields #generator #with-constructor #derive #generate
  32. abstract-getters

    Abstract how, what and from where to get a value using a trait

    v0.1.1 #getters #value #traits #abstract #struct-fields #struct-name #macro-derive #mutable-reference #snake-case
  33. derive-merge-struct

    A derive macro to partially update a named struct

    v0.2.3 #struct-fields #macro-derive #named #partially-update #exclude #field-attributes #test-struct #field-of-struct
  34. getter-methods

    Derive macro to create getter / accessor methods

    v2.0.2 700 #getters #macro-derive #struct-fields #methods #accessor
  35. structsy

    single file structs database

    v0.5.2 120 #embedded-database #single-file #transaction #struct-fields #persistent #debugging
  36. fieldname-access

    Derive macro for safe struct field access by their names in runtime

    v0.1.12 600 #struct-fields #field-access #runtime-access
  37. unsafe-fields

    unsafe to access or modify fields with safety invariants

    v0.2.1 140 #field-access #unsafe #invariants #documentation #hash #struct-fields #memory-safety
  38. name-index

    accessing struct fields by name at runtime

    v0.2.1 120 #struct-fields #field-access #proc-macro
  39. lstring

    Key String: optimized for map keys

    v2.0.2 #key #map-key #optimized-for-map #string-key #inline-string #default-back-end #arc #struct-fields #zero-cost-abstractions #from-str
  40. racros

    Collection of rust macros

    v0.3.0 270 #macro-derive #display-debug #collection-of-macro #debugging #debug-display #my-type #struct-fields #debugging-display #field-attributes
  41. pub_if

    procedural macro that conditionally makes struct fields public based on cfg attributes

    v0.1.0 #proc-macro-attributes #struct-fields #public #cfg #conditionally
  42. extruct

    proc-macro library that provides tools for listing named struct fields and implementing conversion from a larger struct containing fields with same names

    v0.2.1 360 #struct-fields #proc-macro #introspection
  43. structre

    Static-checked parsing of regexes into structs

    v0.2.0 #regex-parser #struct #static-checked #name #struct-fields
  44. const-bitfield

    Macros for generating bitfield-like structures with const support

    v0.2.2 120 #bit-field #macro #generating #generator #bitfield-like #compile-time-evaluation #struct-fields
  45. hizli

    Hızlı Makes Making Macros Fast

    v0.1.5 #macro #proc-macro #struct-fields #ast #pattern-matching #macro-derive #derive-input #struct-binding #parse-stream #macro-processing
  46. field-meta

    A procedural macro to derive metadata for struct fields

    v0.1.1 #struct-fields #proc-macro #metadata #struct-macro
  47. field_comparable_derive

    Procedural macro to generate struct field comparison methods / Macro procédurale pour générer des méthodes de comparaison de champs de structures

    v0.1.1 #macro-derive #struct-fields #compare
  48. emv_tlv_parser

    Parse emv tlv messages

    v0.1.11 250 #tlv #parser #tags #message #emv #web-server #struct-fields
  49. tagged_delegate

    Builds a delegate macro on enums where each variant contains a value that implements the same trait

    v0.2.0 #enums #traits #delegates #macro #enum-variants #struct-fields
  50. assert-offset

    Derive macro for asserting the memory offset of fields in a struct

    v0.1.2 180 #struct-fields #field-offset #macro-derive #assert #memory-offset
  51. include_folder

    Proc macro for recrsively including all files in a folder as fields on a struct

    v0.3.0 100 #struct-fields #proc-macro #recrsively #generator #file-access #lexer #file-content #sub-directory #autocomplete #pascal-case
  52. spread_macros

    Macros around an extended spread syntax

    v0.2.0 120 #spread #struct-fields #macro #syntax-extension #u32 #anon
  53. dissolve-derive

    derive macro for creating dissolved structs with public fields and optional field renaming

    v0.1.4 110 #macro-derive #struct-fields #dissolved #rename #self #optional-fields #proc-macro #field-attributes
  54. o2o-impl

    'o2o' crate

    v0.5.4 11K #proc-macro #derive #member #map #try-into #ghost #try-from #mapper #struct-fields #person-dto
  55. gs11n

    Utililties need for GS11N

    v0.3.1 #serialization #game #prefab #struct-fields #deserialize #varint #dyn #protobuf
  56. displaythis

    derive(Display)

    v1.0.23 #display #error-handling #macro-derive #struct-fields #data-store
  57. bevy_property

    Dynamically interact with struct fields using their names

    v0.3.0 950 #bevy #struct-fields
  58. turso-mappers

    Row mappers for turso

    v0.2.0 #row #turso #mapper #try-from-row #vec #sql #struct-fields #macro-derive
  59. fallback

    A helper library to implement fallback mechaism

    v0.1.3 320 #helper #mechaism #struct-fields #derive #data1 #data2 #123
  60. field_name

    A proc-macro for exposing a struct's field names at runtime

    v0.2.0 #struct-fields #proc-macro #name #run-time #constant #sql #user-name #query-builder #string-literal
  61. soapy-shared

    Custom types used by soapy macros

    v0.2.0 #structure-of-arrays #soapy #array-element #macro #slice #struct-fields #memory-layout #wall-clock #array-of-structures #cache-locality
  62. injectables

    procedural macro library that enables field injection between Rust structs through #[injectable] and #[inject_fields] attributes. The library handles visibility rules, generic type resolution…

    v0.1.0 #struct-fields #proc-macro #field-injection #injection
  63. serde-keyvalue

    Deserialize key=value parameters with serde

    v0.1.0 1.2K #config-parser #deserializer #parameters #debugging #struct-fields #partial-eq #quoted-string #serde-default #separator #kebab-case
  64. corresponding

    Move corresponding fields between structs

    v0.1.8 #struct-fields #copy #struct
  65. rlist_vfs

    Virtual File System for rList

    v0.1.4 310 #virtual-filesystem #oauth2 #rlist #oauth #driver #deserialize #config-file #struct-fields #debugging
  66. set_field

    Set fields on structs by string

    v0.1.1 #struct-fields #string #derive
  67. ground-env

    Parse env variables by defining a struct

    v0.2.0 110 #env-var #struct-fields #parse-env #struct-mapping #rename #env-parser
  68. look_inside

    Look inside structs, enums, and unions!

    v0.2.1 #struct-fields #enum-variant #enums #union #compile-time #macro-derive
  69. struct-string-template

    string templating language on struct fields

    v0.1.0 #template-engine #struct-fields #string-template #selectors #formatter #templater
  70. Try searching with DuckDuckGo.

  71. fieldwork

    derivable accessors for struct fields

    v0.4.6 110 #struct-fields #accessor #macro
  72. fields-iter

    that allows you inspecting the fields of structs

    v0.0.3 #struct-fields #iterator
  73. multi-array-list

    A MultiArrayList stores a list of a struct

    v0.1.0 #array-list #store #struct-fields #cache #computation #field-of-struct #list-of-items
  74. getset-macro

    A procedural macro that simplifies the creation of getter, setter and constructor methods for fields in your Rust structs

    v1.0.1 #struct-fields #proc-macro #constructor-macro #setter-methods #automatic #readability #macro-derive
  75. layout-lib

    view the data layout of a struct

    v0.1.1 #struct-layout #data-layout #view #struct-fields #lib #field-offset
  76. struct_update

    export a macro to instantiate a struct with others which have common fields

    v0.1.0 #struct-fields #update #macro #instantiation #struct-with-fields #field-value
  77. gmtx

    Mutex that grant exclusive access to a group of members

    v0.1.0 #mutex #member #exclusive #access #group #deadlock #write-access #shared-data #struct-fields
  78. derive-sql-common

    Common functions supporting derive-sql and associated crates

    v0.13.0 650 #derive-sql #associated #derive-sql-and-associated #struct #supporting #struct-fields #named-fields
  79. tayvo_optional_struct

    defining a macro that will generate, from a structure, another structure with only Option<T> fields

    v0.2.0 #struct-fields #config #macro
  80. field

    Statically-verified struct field names as strings

    v0.1.0 1.1K #struct-fields #name #macro #struct-name #field-name
  81. minimap2-paf-io

    Read and write data in minimap2's PAF format

    v3.0.0 #reader-writer #minimap2 #paf #line #read #struct-fields
  82. partial_struct

    A proc-macro crate that generates partial versions of Rust structs. Specify omitted fields and custom derives via attributes, then use the generated conversion method to build the full struct.

    v0.4.5 110 #struct-fields #estructure #struct
  83. constructor-lite

    Generate minimal constructors for structs

    v0.3.0 #macro-derive #struct-fields #constructor
  84. refview

    Get a reference view of some fields into a struct

    v0.1.0 #struct-fields #view #reference #macro-derive #viewer #field1 #field2
  85. conquer-struct

    macros to perform concurrent future resolution, while populating struct fields

    v0.1.0 #async #struct-fields #macro
  86. optional_struct_macro_impl

    Helper crate implementing the proc_macro for the optional_struct crate

    v0.4.1 #optional-struct #proc-macro #struct-macro #struct-fields #macro-helpers
  87. perhaps

    Maybe monad implementation with a more intuitive name. Using Certain and Dubious instead of Just and Nothing

    v2.0.0 #dubious #name #contained-value #query #monads #pattern-matching #struct-fields #denominator #in-place #presence
  88. struct-fields

    common

    v0.0.2 #struct-fields
  89. mock-syn

    Mock / wrap syn structs and enums overiding specific fields

    v0.1.6 #mocking #syn #struct-fields #enums #wrap #overiding
  90. rust-codegen

    builder API for generating Rust code

    v0.1.1 #builder #api #struct-fields #help #scope #api-for-generating
  91. named-array

    A procedural macro for accessing struct fields as an array

    v0.1.1 #proc-macro #struct-fields #array
  92. o2o-macros

    Macro definitions of 'o2o' crate

    v0.5.4 11K #o2o #proc-macro #convert #person-dto #define #try-into #try-from #mapper #struct-fields
  93. struct-field-offsets

    Procedural macro to retrieve field names and offsets from a struct

    v0.0.2 #struct-fields #proc-macro #field-offset #ffi
  94. authorized

    struct's fields

    v0.1.1 #scope #struct-fields #authorize #denied #allowed
  95. strawberry_fields

    Consume, read, and mutate struct fields with an iterator-like api

    v0.1.0 #struct-fields #iteration #field
  96. shafu-rs

    Solidity formatter in style of @shafu0x

    v0.1.0 #formatter #alignment #solidity #uint256 #assignment #multi-line #unsigned-integer #braces #struct-fields #declaration
  97. rusticx_derive

    Derive macros for Rusticx ORM

    v0.1.2 #orm #sql #struct-fields #serde-json #macro-derive #uuid #database #deserialize #from-row #database-table
  98. accio

    Retrieves code blocks distributed to multiple sites

    v0.1.0 #code-block #site #distributed #path #place #conditional-compilation #struct-fields #code-execution
  99. has-some-field

    Check whether a struct has any field that is_some()

    v0.1.0 #struct-fields #is-some #macro-derive #optional-fields #test-struct
  100. ortho_config_macros

    Procedural macros for ortho_config

    v0.6.0 380 #config #ortho-config #proc-macro #field-attributes #struct-fields #command-line-arguments #precedence #orthographic #env-vars
  101. struct_field

    Derive macros for generating each field in a struct

    v0.1.6 #struct-fields #macro-derive #generator
  102. get_fields

    procedural macro that generates an array of the field names of a named struct

    v0.1.0 100 #proc-macro #struct-fields #macro
  103. default_fields

    derive macro that adds a default getter function for each struct field

    v0.1.0 #struct-fields #macro-derive #default
  104. optional_struct_internal

    Helper crate defining traits for the optional_struct crate

    v0.3.1 #struct-fields #helper-traits #macro #testing #partial-eq #debugging
  105. sub-struct

    remove specified fields from a struct to create a new struct

    v0.1.0 #struct-fields #create-customer #remove #name-id #struct-name #currency #john
  106. pyo3_special_method_derive_macro

    Automatically derive Python dunder methods for your Rust code

    v0.4.3 4.1K #macro-derive #pyo3 #automatic #methods #enums #struct-fields #dunder #repr #getattr #pyclass
  107. spectacle

    Opt-in runtime introspection

    v0.2.0 #run-time #opt-in #introspection #introspect #collection #serde-json #deeply-nested #struct-fields #strong-typing
  108. impl-new-derive

    Derive macro for implementing the new method for structs

    v0.1.3 #proc-macro #struct-fields #generator
  109. secretspec-derive

    Derive macros for SecretSpec type-safe code generation

    v0.4.1 #profile #struct-fields #macro-derive #validation #generator #macro-system #proc-macro #compile-time-validation #config-toml #compile-time-generation
  110. serde-prefix-all

    Attribute macro to add a prefix to all struct fields & enum variants

    v0.1.0 1.9K #macro-attributes #struct-fields #enums #serde
  111. tushare-derive

    Procedural macros for tushare-api

    v1.1.0 #macro-derive #proc-macro #tushare-api #api-response #data-api #string-format #financial-data #struct-fields #date-format #chrono
  112. nanosql_macros

    Tiny, strongly-typed data mapper for SQLite (procedural macros)

    v0.10.0 750 #sql #strong-typing #nanosql #mapper #proc-macro #struct-fields #serialization #deserialize #result-set #from-sql
  113. autopad

    Define structs with offset fields

    v1.0.0 #struct-fields #offset #padding #no-alloc
  114. serde_infer

    Don't you hate #[serde(rename)]-ing every field in your struct

    v0.1.0 #struct-fields #serde #rename #ing #hate
  115. projection

    into Option<T>

    v0.1.1 #struct-fields #attributes #u32 #first #access
  116. promkit-derive

    A derive macro for promkit

    v0.2.0 220 #macro-derive #interactive #user-input #struct-fields #forms #text-input #struct-definition
  117. fake_inheritance

    A little utility macro

    v0.2.1 #macro #inheritance #struct-fields #generator #shortcut #faked
  118. pyo3_special_method_derive_0_21

    Automatically derive Python dunder methods for your Rust code

    v0.4.2 #automatic-derive #pyo3 #methods #dunder #python #repr #struct-fields
  119. dioptre

    Struct field projection tools

    v0.1.0 #struct-fields #field-projection #layout #traits #safely #struct-layout #data-oriented #consts
  120. restructure

    Match regex expressions into struct fields

    v0.2.0 #regex #struct-fields #struct
  121. rbitpack

    For packing booleans in variables using bitwise operations

    v0.1.0 #bit-manipulation #boolean #bit-field #packing #struct-fields #unpacking #pack-unpack
  122. orso-macros

    ORSO procedural macros

    v0.0.2 #orso #sql #sqlite #define #orm #database-schema #integer-compression #struct-fields #proc-macro #automatic-detection
  123. serde_int_tag

    A procedural macro for tagging struct fields with integer values

    v0.1.0 #proc-macro #struct-fields #integer #serde #tagging
  124. p9_wire_format_derive

    Supporting proc-macro for the p9 crate

    v0.3.0 7.6K #wire-format #p9 #proc-macro #derive #encode #struct-fields
  125. arraygen

    Derive macro for generating arrays from struct fields

    v0.3.2 160 #struct-fields #array-struct #array
  126. field_names

    A proc-macro for exposing a struct's field names at runtime

    v0.2.0 4.2K #struct-fields #name #proc-macro #run-time #variant-name
  127. struct-iter

    A very naughty proc macro to generate an iterator over the fields of your struct as a trait object

    v1.0.0 #proc-macro #struct-fields #iterator #object #traits #naughty #trait-object #dumb #bad
  128. packetrs-impl

    Macro-based struct serialization/deserialization

    v0.5.0 #field-attributes #serialization #enums #packetrs-read #enum-variant #macro-based #struct-fields #deserialize #macro-attributes
  129. sgx_serialize_derive_internals

    Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language

    v1.1.1 #intel-sgx #internal #derive #sdk #trusted-execution-environment #struct-fields
  130. intel82599_hal

    An intralingual Hardware Abstraction Layer for the 10 GbE Intel 82599 NIC

    v0.1.0 #hal #intel #bit-flags #reserved #register #nic #memory-region #type-system #memory-map #struct-fields
  131. accessors-rs

    Derive macro generating an impl for accessing the fields of a struct

    v0.1.0 #macro-derive #struct-fields #accessor #generator #mutually-exclusive #get-mut #mutable-reference
  132. mixinx

    mixin not only struct fields, but also impl funcs and traits

    v0.1.0 #mixin #struct-fields #traits #impl #func #debugging
  133. recursive_variadic

    Something like variadic templates in Rust, implemented with recursive generics

    v0.1.0 #variadic #generics #recursion #template #struct-fields
  134. nullable_struct

    A derive macro that makes it easy to create nullable versions of structs

    v0.1.0 #macro-derive #struct #generator #struct-fields #setter-methods #default-value #getter-and-setter #field-value
  135. persistent-structs

    A Macro that generate helper functions to make non-mutable structs nicer to use

    v0.1.1 #struct #generate #non-mutable #helper #persistent #struct-fields
  136. megadex_rkv

    A lib that makes it easy to index and retrieve structs by any of their fields

    v0.1.1 #struct-fields #megadex #rkv #index #persist
  137. abstract-getters-derive

    Derive macros for the abstract-getters crate

    v0.1.1 #macro-derive #getters #struct-fields #traits #struct-name #mutable-reference #snake-case
  138. fieldset_macro

    fieldset macro crate

    v0.1.4 310 #field-setter #fieldset #iterator #modification #macro #struct-fields #field-set #field-type #bit-field #array-length
  139. puball

    Public all the field in your struct

    v0.1.1 #struct-fields #macro #visbility
  140. optional_struct_macro

    Helper crate implementing the proc_macro for the optional_struct crate

    v0.5.2 10K #optional-struct #struct-fields #proc-macro #testing #helper #struct-macro #partial-eq #debugging