enum-ordinalize-derive 4.3.1

This crate provides a procedural macro that enables enums to not only obtain the ordinal values of their variants but also allows for the construction of enums from an ordinal value.
Documentation
[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"

[features]
default = []
traits = []

[lib]
proc-macro = true

[package]
categories = ["no-std", "rust-patterns"]
description = "This crate provides a procedural macro that enables enums to not only obtain the ordinal values of their variants but also allows for the construction of enums from an ordinal value."
edition = "2021"
homepage = "https://magiclen.org/enum-ordinalize"
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE"]
keywords = ["enum", "ordinal", "ordinalize", "number"]
license = "MIT"
name = "enum-ordinalize-derive"
readme = "README.md"
repository = "https://github.com/magiclen/enum-ordinalize"
rust-version = "1.60"
version = "4.3.1"