#enums

  1. strum

    macros for working with enums and strings

    v0.26.3 5.7M #proc-macro #enums #macro #string
  2. num_enum

    Procedural macros to make inter-operation between primitives and enums easier

    v0.7.3 3.1M #enums #proc-macro #conversion #safe #enumerations #derive #ffi
  3. either

    The enum Either with variants Left and Right is a general purpose sum type with two cases

    v1.13.0 10.2M #sum #enums #data-structures #variant #left #right #cases
  4. enumflags2

    Enum-based bit flags

    v0.7.10 866K #bit-flags #flags #bitflags #enums #compile-time #flag #enum
  5. enum-map

    A map with C-like enum keys represented internally as an array

    v3.0.0-beta.2 673K #enums #map #array #data-structures #key #safe #key-value
  6. synstructure

    Helper methods and macros for custom derives

    v0.13.1 6.2M #macro-derive #derive #enums #macro #syn #struct-fields #expand-substructure
  7. enum-iterator

    Tools to iterate over all values of a type (e.g. all variants of an enumeration)

    v2.1.0 522K #enums #variant #iterator #cardinality #enumerate #enum #variants
  8. serde-untagged

    Serde Visitor implementation for deserializing untagged enums

    v0.1.6 571K #serde #enums #untagged #deserializing #deserializer #visitor #de
  9. flagset

    Data types and a macro for generating enumeration-based bit flags

    v0.4.6 418K #bit-flags #flags #bitflags #enums #enumflags #proc-macro #enum
  10. enumset

    creating compact sets of enums

    v1.1.5 380K #enums #bitset #enum #set-bit
  11. derive_utils

    A procedural macro helper for easily writing derive macros for enums

    v0.14.2 256K #macro-derive #macro-helpers #enums #derive #macro
  12. enum-ordinalize

    enables enums to not only obtain the ordinal values of their variants but also allows for the construction of enums from an ordinal value

    v4.3.0 758K #enums #ordinal #enum #numbers #ordinalize #number
  13. auto_enums

    allow multiple return types by automatically generated enum

    v0.8.6 198K #macro-derive #enums #proc-macro #macro #attributes #derive #enum
  14. packed_struct

    Binary-level structure packing and unpacking generator

    v0.10.1 118K #serialization #packing #bit-packing #byte-array #enums #documentation-generator
  15. spirv

    Rust definition of SPIR-V structs and enums

    v0.3.0 sdk-1.3.268.0 303K #definition #enums #struct
  16. thiserror-no-std

    derive(Error)

    v2.0.2 90K #derive-error #standard-error #macro-derive #std #thiserror #enums #traits
  17. enum-as-inner

    A proc-macro for deriving inner field accessor functions on enums

    v0.6.1 1.9M #enums #inner #proc-macro #access #field #deriving #accessor
  18. parse-display

    Procedural macro to implement Display and FromStr using common settings

    v0.10.0 210K #proc-macro #display #macro-derive #from-str #regex-parser #enums #derive
  19. specr-transpile

    Converts Specr lang code to Rust

    v0.1.32 180 #specr #convert #language #enums #cargo #copy #indirection
  20. smart-default

    Rust custom-derive macro for Default with more control on the fields

    v0.7.1 844K #default-value #default #macro-derive #traits #fields #enums #control
  21. tor-error

    unified type-erased error type returned by many (esp. high-level) Tor APIs.

    v0.26.0 6.7K #error #tor #api-error #arti #unified #traits #enums
  22. serde_variant

    Retrieve serde provided variant names for enum objects

    v0.1.3 110K #variant-name #enums #variant #serde
  23. parse-variants

    Derive the syn::parse::Parse trait for enumerations and use it to comfortably parse a variant of the enumeration

    v1.0.4 3.2K #macro-derive #enums #parse #variant #parser #enumerations #speculative
  24. try_match

    Fallible pattern matching with a function-like syntax

    v0.4.2 36K #pattern-matching #pattern #match #enums #macro #variant
  25. rbx_reflection

    Roblox reflection database and ambiguous type resolution

    v4.7.0 550 #roblox #reflection #resolution #instance #enums #property #database
  26. remain

    Compile-time checks that an enum, struct, or match is written in sorted order

    v0.2.14 38K #compile-time #sorting #enums #match #order #check #variant
  27. borsh-derive

    Binary Object Representation Serializer for Hashing

    v1.5.3 1.6M #binary-encoding #borsh #serialization #borsh-deserialize #binary-format #enums #hashing
  28. caret

    Macros for declaring non-exhaustive C-style enumerations, with named members

    v0.5.1 6.6K #enums #integer-value #macro #enumerations #field-value
  29. tinkoff-invest

    tinkoff invest library

    v2.32.4 130 #market-data #tinkoff #invest #instrument #enums #ticker #figi
  30. strum_macros

    macros for working with enums and strings

    v0.26.4 6.2M #enums #proc-macro #string #macro #enum #macros
  31. void

    The uninhabited void type for use in statically impossible cases

    v1.0.2 1.2M #statically #cases #impossible #uninhabited #error #extension #enums
  32. proc_macro_roids

    Traits and functions to make writing proc macros more ergonomic

    v0.8.0 9.0K #proc-macro #macro-derive #proc-macro-attributes #macro #struct-fields #token-stream #enums
  33. aargvark

    Self-similar argument parsing

    v0.6.11 1.2K #arguments-parser #command-line #command-line-arguments #derive #cli-parser #complex #enums
  34. papergrid

    core library to print a table

    v0.13.0 345K #table #grid #tabled #print #indent #structs #enums
  35. artnet_protocol

    A 1:1 implementation of the ArtNet protocol

    v0.4.3 750 #protocols #art-net #udp-socket #networking #network-protocol #node #enums
  36. open-enum

    An attribute for generating "open" fieldless enums, those that accept any integer value, by using a newtype struct and associated constants

    v0.5.2 13K #integer-value #enums #open #integer #newtype #enumerations #generate
  37. enum-assoc

    Procedural macro to associate constants with enum variants

    v1.2.4 25K #enums #proc-macro #variant #constant #enum #const #macro-derive
  38. exhaust

    Trait and derive macro for working with all possible values of a type (exhaustive enumeration)

    v0.2.1 2.8K #exhaustive #brute-force #iterator #enums #macro-derive #enumeration #values
  39. nominals

    formatting nominal indicators in various systems (e.g., roman numerals)

    v0.3.1 330 #numeral #enums #roman #lists #list #numerals
  40. is-macro

    Derive methods for using custom enums like Option / Result

    v0.3.7 536K #enums #options #information
  41. enum-ptr

    Ergonomic tagged pointer

    v0.2.0 650 #tagged-pointers #pointers #enums #tagged #tags #tagging #macro-derive
  42. io-enum

    #[derive(Read, Write, Seek, BufRead)] for enums

    v1.1.3 66K #read-write #enums #io #file-io #derive #file-path #proc-macro
  43. const-serialize

    A serialization framework that works in const contexts

    v0.6.1 3.9K #serialization #const #memory-layout #enums #byte #context #buffer
  44. every_variant

    EveryVariant trait that provides the every_variant method on types. Allows you to easily generate every combination of variants in structures that contains Enums, or in nested enum trees…

    v0.4.5 4.5K #enums #variant #testing #testing-debugging #generate #traits #tree
  45. checked-rs

    encoding validation semantics into the type system

    v1.0.0 #validation #enums #clamp #checked #integer-value #enum #generate
  46. enum-display

    A macro to derive Display for enums

    v0.1.4 8.8K #macro-derive #enums #display #macro #derive
  47. proc-easy

    Macros to make writing proc-macro crates easy

    v0.4.0 480 #macro-derive #proc-macro #macro #derive #reduce-boilerplate #struct #enums
  48. random_variant

    To be used with all variant, contains the derive macro

    v0.2.7 4.3K #macro-derive #variant #testing #random #enums #serialization #limited
  49. enum-derive-2018

    macros for deriving additional functionality for enums

    v3.0.2 700 #macro-derive #enums #macro #derive #custom-derive #macro-attr
  50. portable_atomic_enum

    An attribute to create an portable atomic wrapper around a C-style enum

    v0.3.1 13K #portable-atomic #atomic #enums #c-style #operations #attributes #create
  51. tisel

    Effective type-based pseudodynamic dispatch to impls, enums and typeid

    v0.1.1 #dynamic-dispatch #dispatch #enums #type-id #specialization #dyn #ecs
  52. int-enum

    A derive macro for conversion between integer and enum types

    v1.1.2 7.0K #macro-derive #enums #proc-macro #integer #conversion #int #traits
  53. enum-collections

    Collections data structures optimized for Enum, initializable at runtime

    v1.5.0 #enums #collection #data-structures #hash-map #enum-map #collections
  54. syn-helpers

    Framework for building derive macros

    v0.5.0 500 #macro-derive #proc-macro #proc-macro-derive #macro-helpers #enums #syn #code-generation
  55. tf2-enum

    enumerated types for models related to the Team Fortress 2 item schema

    v0.9.3 1.1K #fortress #team #schema #steam #enums #tf2 #types
  56. enumeration

    An extension to rust enum

    v3.3.1 1.1K #enums #variant #enum #traits #extension #index #casting
  57. ordinal-map

    Ordinal trait to map values to integers and efficient maps and sets for such types

    v0.1.6 #ordinal #map #set-key #set #enums #integer #traits-structs
  58. among

    The enum Among with variants Left, Middle and Right is a general purpose sum type with three cases

    v0.1.7 750 #enums #data-structures #three #variant #sum #left #right
  59. codesort

    sorts code

    v0.6.1 230 #sorting #struct-fields #line #ide #variant #declaration #enums
  60. cfg_eval

    #[cfg_eval] in stable Rust 🙃

    v0.1.2 151K #macro #attributes #cfg #stable #macro-rules #apply #enums
  61. csvenum

    Generate code for enums with associated constants from a .csv in your command line

    v0.1.4 #enums #csv #codegen #enum #command-line #associated-constants #variant-name
  62. safe_math

    Math without overflow, creates an enum and a macro to help mitigate any overflow while multiplying and adding

    v1.1.1 490 #math #overflow #operation #enums #fields #macro #variant
  63. windows-timezones

    Windows timezone list from the Unicode CLDR project

    v0.4.0 500 #timezone #windows #enums #cldr #unicode #chrono #list
  64. c-enum

    A macro to generate c-like enums

    v0.2.3 900 #enums #macro #variant #partial-ord #generate #define #copy
  65. enumoid

    Enum Indexed Containers

    v0.4.0 #enums #enumerations #flags #data-structures #map #integer #vector
  66. kinded

    Generate enums with same variants, but without data

    v0.3.0 74K #enums #macro-derive #kind #enumerations #macro #derive
  67. EnumBitFlags

    EnumBitFlags is an implementation of flags support for enums

    v1.0.10 550 #enumbitflags #bit-flags #enums #flags #bitflags #proc-macro #enum #bit-set
  68. result-like

    Option/Result-like monad interface for your own enum

    v0.5.0 7.3K #enums #monads #macro #result #options
  69. hoicko_lib

    Hoicko library

    v0.1.16 800 #lib #hoicko #payload #activity #notification #enums #action
  70. reqwest-enum

    Typed enum HTTP API for reqwest

    v0.3.3 340 #enums #http-request #request #http-api #json-rpc #async #typed
  71. ctrlgen

    Generate enums for message-passing services

    v0.3.5 #enums #service #generate #message-passing #trait-enumizer #counter #service-proxy
  72. belnapian

    Belnap's 4-valued logic basic building blocks in Rust

    v0.2.0 #logic #truth #basic #building-block #enums #values #unknown
  73. any-range

    AnyRange<T> enum can hold any Range*<T> type

    v0.1.4 #range #enums #any #parameters #test #coverage #hold
  74. quick-error

    A macro which makes error types pleasant to write

    v2.0.1 3.6M #error-type #error #io-error #enums #type #macro #macro-derive
  75. mago-token

    Defines the data structures and enumerations representing PHP tokens

    v0.0.18 1.4K #php #mago #token #enums #defines #structures #data
  76. erased-discriminant

    Type-erased version of core::mem::Discriminant<T>

    v1.0.0 #discriminant #mem #erased #version #type-erased #enums
  77. linearize

    Types that are enumerable and an array-backed map

    v0.1.2 #enums #map #key #data-structures #derive #bool #types
  78. atomic_enum

    An attribute to create an atomic wrapper around a C-style enum

    v0.3.0 22K #enums #atomic #c-style #attributes #operations #create #store
  79. sumtype

    Generate zerocost sumtype of iterators or closures

    v0.2.5 170 #iterator #zero-cost #enums #union-types #compile-time #no-alloc #heap-memory
  80. craftflow-nbt

    A serde-based NBT (from Minecraft) binary format implementation

    v2.1.0 #nbt #binary-format #minecraft #byte #tags #deserialize #enums
  81. enum_cycling

    Small macro for working with enums

    v0.2.1 #enums #macro #pro-macro
  82. enum_meta

    Add metadata to Enum Variants

    v0.7.0 150 #enums #metadata #language #syntax-tree #compile-time #error-code
  83. enumcapsulate

    Safe casting for newtype enums and their variants

    v0.6.2 150 #enums #variant #cast #macro-derive #encapsulation #enum
  84. dtype_dispatch

    Macro builder for working with data types

    v0.1.0 330 #enums #generic #dispatch #dtype
  85. iso639-1

    enum and utils

    v0.4.1 900 #localization #enums #iso-639
  86. enum2egui

    derive macro that creates a set of egui ui databindings from arbitrary data structures. Supports egui v0.29.1

    v0.3.9 490 #macro-derive #egui #ui #data-structures #gui #enums #bindings
  87. termite-dmg

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

    v0.1.1 #data-model #json #yaml #json-file #generator #header #enums
  88. from_variants

    Rust macro to automatically generate conversions for newtype enums

    v1.0.2 8.9K #enums #variant #conversion #newtype #automatic #macro #generate
  89. actix-error

    handle REST errors, with a derive macro to generate the error type. It also provides a compatibility layer with actix-web.

    v0.2.7 140 #api-error #error-derive #error-response #actix-web #macro-derive #http-response #enums
  90. as_variant

    macro to convert enums with newtype variants to Options

    v1.2.0 8.8K #enums #macro #variant #options #convert #newtype #value
  91. indexed_valued_enums

    Create enums resolving into values, and get their variants back through their values or their discriminant, inspired by Java

    v1.0.0 #enums #declarative-macro #macro-derive #discriminant #index #enumerations #valued
  92. ssmarshal

    Stupid simple value-only marshaling using serde

    v1.0.0 12K #serde #marshalling #format #stupid #value #enums #types
  93. symbols

    Proc-macro utility to populate enums from database data

    v1.0.0 140 #proc-macro #primary-key #enums #database #database-table #connect-database #enumerations
  94. file_type_enum

    An enum with a variant for each file type

    v2.0.1 600 #filesystem #filetype #unix-file #enums #file-path #symlink #variant
  95. declarative_type_state

    A collection of declarative macros to reduce boilerplate code when implementing type-state patterns

    v0.8.0 550 #declarative-macro #pattern #enums #macro #declarative #type-state #reduce-boilerplate
  96. penum

    Make enum conform to a given pattern

    v0.1.30 #proc-macro #enums #pattern #shape #macro #declarative-macro
  97. serde-double-tag

    double tagged enum representation for serde

    v0.0.4 #serialize-deserialize #enums #double #serde #tags #serde-derive #macro-derive
  98. terra-items

    enum contatining terraria items and prefixes

    v0.2.3 #terraria #prefixes #items #enums
  99. extendable-data

    A set of rust macros that allows you to specify data that can be "extended" or inherited from

    v0.1.5 110 #proc-macro #data-structures #enums #structs #unions #extensible #union
  100. derive_util

    tools for derive macros

    v0.4.0 600 #macro-derive #unnamed-fields #syn #named-fields #struct #unit #enums
  101. tri_ton

    A Macro for Handling Exceptions

    v0.0.2 #enums #macro #utility #pattern-matching #foo-bar
  102. ptr-union

    Pointer union types the size of a pointer by storing the tag in the alignment bits

    v2.2.2 140 #pointers #union #enums #thin
  103. namewise

    Derived trivial name-wise conversions for Rust types

    v2.6.8 #conversion #string #trivial #derived #types #enums #struct
  104. primitive-from-enum

    macros for get primitive enum from complex

    v0.3.1 230 #enums #primitive #macro #complex #string #derive #u32
  105. jkcenum

    Rust enum library

    v0.3.3 #enums #derive-debug #jenum #to-string #partial-eq #debugging
  106. jdt_maybe_reference

    MaybeReference is a utility crate that establishes an enum to use where a value may either be a single JSON string or a JSON object

    v0.1.6 500 #reference #json #enums #json-object #single #value #string
  107. serde_literals

    Support for serialising and deserialising literals directly into enum unit variants

    v0.1.2 160 #literals #serde #enums #variant #deserialize #unit #instance
  108. bitbag

    A useful struct for dealing with bit flags

    v0.3.0 #bit-flags #enums #tracking #repr #defined #set #field-less
  109. linktype

    publicly managed enum for different link types present in PCAP files

    v0.1.3 #pcap #enums #link #networking #list #types #managed
  110. derive-insert

    GetOrInsert trait for enums and its derive macro

    v0.1.1 230 #derive #enums #macro-derive #insert #traits #get-or-insert
  111. woah

    A Result type that differentiates between local errors (which can be handled) and fatal errors (which cannot)

    v0.4.5 #error #error-handling #local #fatal #result #nightly #enums
  112. leap-lang

    Leap language parser

    v0.3.0 #language #leap #data-structures #enums #parser #formatting #tags
  113. table_enum

    A convenient rust macro to create enums with associated constant data (note: this is different from normal rust enums which are really tagged unions)

    v0.3.0 #enums #constant #variant #enum #table #const #computer-science
  114. thiserror_string_context

    Adds context string to error enums generated with thiserror

    v0.1.5 #thiserror #error-context #string #io-error #enums #add #annotation
  115. quick-error2

    A macro which makes error types pleasant to write

    v2.1.0 #error-type #error #type #enums #macro
  116. country-code-enum

    Copyable Serde and Sqlx compatible country codes

    v0.2.0 550 #country-code #enums #codes #sqlx #compatible #serde #copyable
  117. declarative_enum_dispatch

    Declarative macro generating boilerplate for enum dispatch

    v0.1.2 #dynamic-dispatch #declarative-macro #traits #enums #dynamic #generation #boilerplate
  118. methods-enum

    Two macros for easy implementation of 'state' design pattern and other dynamic polymorphism using enum instead of dyn Trait

    v0.3.2 #design-pattern #enums #state #polymorphism #methods #dyn #object
  119. terra-items-xbox360

    enum contatining xbox 360 terraria items and prefixes

    v0.1.2 110 #enums #items #terraria #prefixes #xbox #360
  120. enum_handler

    A macro to generate a handler trait for enums variants

    v0.1.0 #enums #handler #state #bloc
  121. argcall

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

    v0.3.1 440 #variant #enums #field #callable #structs #struct-fields #functions
  122. thisenum

    Assign constant literals to enum arms

    v0.2.1 #enums #literals #const #parser #macro
  123. enumscribe

    Derive macros for converting between enums and strings

    v0.4.0 800 #serde-derive #enums #macro-derive #serde #derive #enum
  124. valorant_api_official

    interacting with the Official Valorant API

    v0.1.8 #valorant #region #history #credentials #manager #api #enums
  125. takeable

    Container type that allows for temporarily moving out of the container, or permanently moving out and invalidating the container

    v0.2.2 6.9K #state-machine #move #container #reference #mutable #enums #moving
  126. symbols-models

    Proc-macro utility to populate enums from database data (shared traits)

    v1.0.0 #primary-key #database-table #enums #proc-macro #database #key-value #enum
  127. strunemix

    allows to build a struct with a form of its fields, by deriving enums of them

    v0.6.1 350 #struct #enums #name #data-type #data #type #struct-fields
  128. enum_downcast

    Safe downcasting for enums

    v0.2.0 750 #enums #downcast #macro-derive #variant #skip #dynamic-dispatch #mem
  129. varflags

    exporting varflags macro, allowing to use unit-like enums in conjunction with Varflags struct to create easy to use bitflags data structure defined over enum variants

    v0.2.3 #bitflags #enums #bitset #data-structures #variant #proc-macro #structure
  130. rustalize

    Rustalizer is a powerful tool designed to help developers analyze complex Rust code structures. It provides a simple Abstract Syntax Tree (AST) parser that can break down Rust traits…

    v0.1.0 #ast #ast-parser #traits-structs #enums #syntax-tree #complex #structures
  131. nest_struct

    Nest struct and enum definitions with minimal syntax changes

    v0.5.2 950 #struct #nest #enums #macro #serde-derive
  132. binarybit

    Boolean algebra operations in Rust

    v0.1.2 #uwu #enums #operations #algebra #false #que #ser
  133. toolshed

    Arena allocator and a handful of useful data structures

    v0.8.1 360 #arena-allocator #data-structures #recursion #tree #copy #heap-allocator #enums
  134. flagger

    Enum flag generator

    v0.7.0 380 #flags #enums #flag
  135. cloneless_cow

    A greatly-reduced implementation of Cow that does not require T to be Clone but allows for storing either a reference or an owned instance for future needs of references to T

    v0.1.1 260 #lifetime #enums #memory #data #no-std #enum
  136. enum-variants-strings

    Derive macro for converting instances of enums to and from strs using variant names

    v0.3.0 500 #variant-name #string-conversion #enums #variant #string #string-representation #derive
  137. enum_stringify

    Macro to generate string conversion functions for enums

    v0.6.1 950 #enums #string #macro-derive #string-conversion #derive #macro #string-representation
  138. lachs

    automatically creating a lexer based on a given enum

    v0.1.3 #enums #lexer #automatic #spans #token #literals #string-literal
  139. iced_file_tree

    A lightweight file tree widget for the iced toolkit

    v0.2.0 370 #file-tree #iced #widgets #toolkit #message #enums #path-buf
  140. orio

    Small serialization library

    v0.6.0 #serialization #io #macro-derive #vec-u8 #byte #serde #enums
  141. unit-enum

    A procedural macro for deriving ordinal methods in unit-like enums for Rust

    v1.4.1 220 #proc-macro #enums #macro-derive #enum #derive
  142. steam-language-gen

    Generate Rust bindings to Steam enums and messages

    v0.1.4 200 #steam #bindings-generator #enums #generate #message #interaction #networking
  143. enum_ext

    procedural macro that enhances enums with additional methods and conversions

    v0.2.2 #proc-macro #enums #macro #discriminant #procedural
  144. inarybay

    Graph-based binary format (de)serializer generator

    v0.1.1 #binary-format #serialization #binary-encoding #deserialize #data #enums #interface
  145. bit_roles

    Granular role management based on bit flags

    v0.2.2 #bit-flags #role #permissions #bit #enums #user-management #macro
  146. enpow

    Generating methods for user defined enums as known from Option<T> or Result<T, E>

    v2.0.2 #proc-macro #enums #macro #unnamed-fields #generator #utility #user-defined
  147. fieldmask

    (de)serializing/applying fieldmask

    v0.0.4 410 #deserialize #field #de #mask #included #maskable #enums
  148. nfc1

    High-level safe Rust bindings for libnfc

    v0.5.2 #nfc #safe-bindings #libnfc #raw-pointers #error #exposed #enums
  149. yikes-intenum

    Augment integer-based enums with an unknown variant; a macro that makes you say "yikes!"

    v0.0.4 410 #enums #variant #unknown #say #rust #macro #yikes
  150. plectrum

    An easy way to represent lookup tables in a db as rust enums

    v0.1.0 #lookup-tables #enums #database-table #mapping #db #proc-macro #instance
  151. ename

    get name of enum variant by enum value

    v0.1.3 280 #enums #variant #variant-name #name
  152. nameth

    macro to generate a static &str representing the name of a function, a struct or an enum

    v0.1.3 #enums #generate-static #name #struct #str #macro
  153. serde-enum-str

    Serialize and deserialize enum string

    v0.4.0 76K #enums #serialization #string #deserialize #package
  154. bogdan_hello_macro

    adds the method hello_macro that generates a greeting based on the name of the struct

    v0.1.7 #macro-derive #proc-macro #greeting #hello #traits #struct #enums
  155. libipld-cbor

    ipld cbor codec

    v0.16.0 10K #cbor #ipld #codec #format #user #enums #ecosystem
  156. variant-set

    A set-like data structure for enum variants, allowing you to store at most one value for each variant of an enum

    v0.1.0 #enums #variant #value #data #store #structure #set
  157. frunk-enum-core

    Implemenation of genericized enums for use with frunk

    v0.3.0 2.1K #enums #frunk #generics #labelled-generic #data #data-structures #extension
  158. derive_variants

    derives an additional enum from a nested enum that contains only variants and no nested fields

    v1.0.0 100 #enums #nested #variant #derive #fields
  159. lucide-floem

    lucide icon library for floem

    v0.2.0 100 #icons #lucide #floem #enums #view
  160. jdt_maybe_multiple

    MaybeMultiple is a utility crate that establishes an enum to use in place of Option where the content may be singular, multiple, or None

    v0.1.0 #multiple #enums #place #singular #content #options #maybe-multiple
  161. statum

    Compile-time state machine magic for Rust: Zero-boilerplate typestate patterns with automatic transition validation

    v0.1.7 #state-machine #type-state #finite-state #state-transition #enums #fsm
  162. dare

    daring flexible data representation

    v0.0.3 160 #flexible #representation #operations #value #enums #null #traits
  163. structural

    Field accessor traits,and emulation of structural types

    v0.4.3 #field #traits #enums #struct-fields #accessor #data-structures #macro
  164. http_codex

    easy HTTP code management

    v1.0.2 #http #management #codes #enums #codex #projects #class
  165. futures-enum

    #[derive(Future, Stream, Sink, AsyncRead, AsyncWrite, AsyncSeek, AsyncBufRead)] for enums

    v0.1.17 16K #future #enums #async #derive #async-stream #async-io #futures
  166. filterable-enum

    generating filterable enums (Combining bitflags and discriminated unions)

    v0.1.2 100 #enums #bitflags #union #variant #du #filter #bitmask
  167. enum-primitive-derive

    enum_primitive implementation using procedural macros to have a custom derive

    v0.3.0 133K #enums #macro-derive #proc-macro #primitive #derive #ffi #fromprimitive
  168. peapod

    Ultra-compact storage for enums

    v0.1.9 #enums #compact #space-efficient #data-structures #cargo-toml #behavior #vector
  169. addr_of_enum

    Get address of fields in enum item using stable Rust

    v0.1.5 #enums #macro #variant #pointers #stable #zero-cost #addr
  170. intuple

    Convert structs and enums into tuples (of refs) and back - recursive, ignore fields

    v0.2.0 #tuple #enums #struct #from #into
  171. confiner

    A config language for things that look like trees

    v0.2.1 #tree #config #language #block #tree-like #path #enums
  172. env-type

    define environment variables as types

    v0.4.1 250 #env-vars #environment #configuration #enums #variables #applications #determine
  173. libeither

    Either struct for Rust

    v0.5.0 800 #serialization #struct #toml #either #enums #unstable #nightly
  174. supply-chain-trust-example-crate-000044

    The enum Either with variants Left and Right is a general purpose sum type with two cases

    v1.13.0 #variant #data-structures #enums #left #right #cases #sum
  175. dade

    data definition for Rust structures

    v0.2.0 180 #serialization #data #data-structures #json-schema #validation #model #enums
  176. enum_ids

    Generate a companion ID enum and an associated getter method for the annotated enum

    v0.5.0 #enums #enum #derive #id #derive-debug #identifier #converting
  177. typeful

    A collection of helper derive macros for type patterns

    v0.1.1 5.5K #macro-derive #enums #error #derive #type #macro #enum
  178. safe-discriminant

    A minimalistic, no_std compatible trait and procedural macro for extracting discriminants from enums at zero cost

    v0.2.0 #enums #discriminant #proc-macro #zero #safe #minimalist #traits
  179. enumchar

    Rust derive macro for enums where each variant is represented by a single char

    v0.1.2 200 #enums #parse #char
  180. trait-enumizer

    Proc macro to automatically generate enum based on method signatures (with appropriate helpers)

    v0.1.1 #proc-macro #enums #traits #enumizer #helper
  181. enum-tag

    Proc. macro for generating enum discriminant types.

    v0.3.0 4.5K #enums #c-like #tags #tagged #discriminant #proc-macro #macro-derive
  182. actix-web-utils

    Just some useful addons for actix web

    v0.2.20 #actix-web #back-end #add-on #macro #enums #service #controller
  183. json-filter

    filtering JSON values using simple query structs / enums

    v0.1.0 #json #structs #filtering #values #query #enums #marketplaces
  184. big_enum_set

    creating sets of enums with a large number of variants

    v0.3.0 #enums #set #bitset #enum-set
  185. gull

    type generation

    v6.0.2 500 #generation #serialization #enums
  186. serde-struct-tuple-enum

    Procedural macro for deserializing an enum of structs from tuples

    v0.1.0 #tuple #enums #struct #serde #proc-macro
  187. custom_codes

    uniform response and error codes backed by enums

    v2.0.4 #error-code #codes #error-response #enums #configuration #error-string #uniform
  188. summum-types

    A sum-type macro crate with all the conversions, accessors, and support for abstract methods across variants, and interoperability between sum-types

    v0.1.4 180 #sum-types #enums #macro #union-types #accessor #type-union
  189. mabe

    framework for creating debug-friendly error enums in Rust

    v1.3.1 1.1K #error #enums #debugging #framework #error-message #simple #errors
  190. rusk_crate

    SOmething is not wrong

    v0.2.0 #enums #car #model #lensi #dynamics #explore #wrong
  191. enum-unit

    Generates unit-variant enums from existing enums

    v0.1.4 430 #enums #bitflags #derive #unit-variant #proc-macro #generate #procedural-macro
  192. axum-routes

    Create an axum Router from an enum and resolve routes

    v0.1.1 #axum #enums #routes #router #layer #declare #tower-http
  193. ferment

    Syntax tree morphing of FFI-compatible stuff

    v0.1.4 #syntax-tree #structures #conversion #interface #types #enums #morphing
  194. type_reflect

    Extensible runtime reflection through a Derive macro

    v0.3.0 #macro-derive #typescript #reflection #run-time #enums #schema #generate
  195. iter-n

    functions returning impl Iterator to return one of several distinct types

    v0.1.0 #iterator #impl #enums #either
  196. endex

    get index of enum variant by enum value

    v0.1.0 120 #enums #variant #index
  197. sneks

    macros for naming enum variants

    v0.1.3 650 #proc-macro #enums #variant #naming #name #string
  198. packet_enum

    Full implementation for packet_enum

    v0.1.6 #enums #packet-enum #packet
  199. enum_desc

    A set of column-derived macros is provided to add descriptive information to enumerations and translate enumeration codes

    v0.1.5 310 #enums #translation #macro #macro-derive #enumeration #information #descriptive
  200. inttype-enum

    Converts an [enum] into an [inttype], and try to convert it back

    v0.1.5 390 #enums #convert #inttype #back #try
  201. enumx

    Ad-hoc enum extension

    v0.4.3 #enums #ad-hoc #sum #structural #anonymous #cargo-toml
  202. vnum

    Create enums with a constant value associated to every variant

    v0.1.0 #enums #macro #utility
  203. persia-speedy

    A fast binary serialization framework

    v0.9.0 #binary-serialization #serialization #enums #speedy #readable #length #framework
  204. tlbf

    Type level bitflags

    v0.3.3 #bit-flags #bitflags #flags #enums #set
  205. litenum

    minimal convertion utilities between literal and enum

    v1.1.1 #enums #proc-macro #convert #macro #no-alloc #macros #no-std
  206. prost-enum

    Enhance Enums of prost generated files to support serde and sea-orm

    v0.1.1 #enums #serialization #protobuf #sea-orm #deserialize #serde #prost
  207. diesel-enum

    Interop between your enums and your database with diesel

    v0.2.1 600 #enums #diesel #database #sql-database #enum
  208. enser

    Enum serialization with tag

    v0.1.4 180 #enums #tags #serde #tag #cargo-toml
  209. bitmask

    generator for enum scoped bit flags

    v0.5.0 6.8K #bit-flags #enums #scoped #generator #time #default #automatic
  210. valued-enums

    Macros collection and specify trait for creating valued or python-like enums

    v1.1.9 #enums #python-like #no-deps
  211. enum-unitary

    Trait and macro for unitary enums

    v0.5.0 #enums #variant #traits #macro #unitary #primitive #iterating
  212. boolean-enums

    Generate enums with Yes and No variants. Supports no_std and serde.

    v0.3.4 #enums #boolean #yes #bool #no
  213. variantly

    Derive helper methods for enum variants that are familiar from std::option::Option & std::result::Result such as unwrap_or or and_then

    v0.4.0 8.2K #enums #variant #methods #variant-name #helper #derive #familiar
  214. clipv

    Command line interpretor parser (and future validator)

    v0.2.0 #command-line #arguments-parser #parser #enums #iterator #struct #validation
  215. encap_enum

    A non-verbose way to define a group of constants and bit flags

    v0.3.1 #bit-flags #enums #flags #bitmask #bit
  216. enum_from_derive

    Implement From For the Enumeration

    v0.1.6 #enums #derive #enumeration
  217. enum-kinds

    Generate enums with matching variants but without any of the associated data

    v0.5.1 17K #enums #macro-derive #proc-macro #derive #deriving #macro
  218. unwrap-enum

    generate methods to access enum variants

    v0.1.0 #enums #variant #quote #macro #methods #generate #unwrap
  219. enum_derive

    macros for deriving additional functionality for enums

    v0.1.7 7.5K #enums #macro-derive #custom-derive #derive #macro
  220. match-commutative

    Match on patterns commutatively, reducing the use of duplicated patterns. ↔️

    v0.1.0 #pattern #pattern-match #match #variant #enums #macro #duplicates
  221. case_iterable

    A procedural macro to iterate over enum variants, ala Swift's CaseIterable

    v0.2.0 #enums #iterable #proc-macro #derive #macro #enum
  222. ni-fpga

    Safe Rust interface to NI FPGAs with FXP support

    v1.4.1 #fpga #ni #interface #enums #fxp #fixed-point #cluster
  223. enum_macro_gen

    Macro generator for handling enums

    v0.2.0 #proc-macro #enums #variant #gen #generator #simplifies #generating
  224. diesel-enum-sqltype

    derive macro for FromSql and ToSql traits for postgres enums

    v0.1.6 #enums #postgresql #diesel #postgres #proc-macro
  225. Try searching with DuckDuckGo.

  226. enum-ref

    Proc. macro for generating enum discriminant types.

    v0.1.0 #enums #reference #ref #wrapper #proc-macro #data-access
  227. small-num

    Small crate used to create small numbers optimally

    v0.2.0 #enums #numbers #integer #deserialize #data #num #constrained
  228. variant_counter

    Rust's Enum variant counter

    v0.4.0 #enums #variant #counter #data #macro-derive #statistics #erase
  229. tlkit

    Tool Kit integration

    v0.3.0 950 #http-status #enums #integration #kit #i32 #string #error
  230. coded

    concrete error type with an ErrorKind enum matching Google’s “canonical error codes”

    v0.1.0 #error-code #error #google-cloud #status-code #google #codes #enums
  231. serde_sated

    sane adjacently tagged enum deserialization (with untagged variant) for serde

    v0.1.3 160 #serialize-deserialize #serde-json #enums #serialization #deserialize-json #tagged #variant
  232. enum_properties

    A macro for declaring static properties on enum variants

    v0.3.0 #enums #static #macro
  233. derive-debug-plus

    Customizable derive macro for Debug trait

    v0.5.0 1.4K #derive-debug #macro-derive #debugging #derive #traits #customizable #enums
  234. xconstants

    Adds preliminary support for enum const generics

    v0.2.1 #const-generics #enums #preliminary
  235. enum-repr

    Derive enum repr conversions compatible with type aliases

    v0.2.6 43K #enums #repr #discriminant #constant #conversion #proc-macro
  236. enum_inject

    Implement inject For the Enumeration

    v0.1.4 #enums #inject #display #derive #compute #suffix #prefix
  237. enum-mapping-macro

    Maps enum variants to numbers and viceversa

    v0.1.1 #enums #mapping #try-from #macro #from
  238. rigz_error

    Includes the definition of the RigzError enum

    v0.1.1 #enums #definition #lib
  239. eventree

    creating lossless syntax trees

    v0.7.0 #syntax-tree #lossless #derive-debug #tree-structure #enums #node #root
  240. brug

    enum command generation for implementation blocks

    v0.3.0-alpha0 #async-trait #rpc #traits #enums #command #facade #generation
  241. custom_attrs

    that allows you to configure values specific to each variants of an enum

    v1.6.2 #attributes #enums #attr #variant #declaration #value #configuration
  242. enum_macros

    A collection of useful macros to make working with enums easier

    v0.0.3 #enums #macro #proc-macro #variant #collection #data #discriminant
  243. variant_count

    Derive macro for enum which adds to it the count of variants

    v1.1.0 81K #macro-derive #variant #enums #count #derive #enum
  244. axum-enum-response

    Easily create axum::http::Response's from Enums!

    v0.2.0 #http-response #error-response #axum #enums #serde-derive #status-code #body
  245. complex-enum-macros

    Convert enums with non-unit variants to privitives

    v0.1.1 #enums #proc-macro #macro #macros
  246. enum_to_vec

    Enum to vec

    v0.1.0 #enums #vec #test