Sunbeam Studios

Our open-source projects, here for you!

enum-ordinalize-derive (4.3.2)

Published 2026-03-26 10:32:29 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add enum-ordinalize-derive@4.3.2

About this package

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.

Enum Ordinalize Derive

CI

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.

See the enum-ordinalize crate.

Crates.io

https://crates.io/crates/enum-ordinalize

Documentation

https://docs.rs/enum-ordinalize

License

MIT

Dependencies

ID Version
proc-macro2 ^1
quote ^1
syn ^2

Keywords

enum ordinal ordinalize number
Details
Cargo
2026-03-26 10:32:29 +00:00
0
MIT
8.2 KiB
Assets (1)
Versions (1) View all
4.3.2 2026-03-26