[dependencies.enum-ordinalize-derive]
default-features = false
optional = true
version = "4.3"
[features]
default = ["derive", "traits"]
derive = ["dep:enum-ordinalize-derive"]
nightly-test = []
traits = ["enum-ordinalize-derive?/traits"]
[package]
categories = ["no-std", "rust-patterns"]
description = "This library 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"
readme = "README.md"
repository = "https://github.com/magiclen/enum-ordinalize"
rust-version = "1.60"
version = "4.3.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]