enum-ordinalize

crates.io v4.4.1

1,609,357 weekly downloads · 1 Dependencies

Recently published

Source data as of:

Summary

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.

Install cargo add enum-ordinalize

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 1,609,357 Source: crates.io (Rust)
Releases 45 Last release: 2026-06-27 Source: crates.io (Rust)
Dependencies 1 Source: crates.io (Rust)

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.

Registry-supplied description, cleaned to plain text. Source: crates.io (Rust).

Package details

Package
enum-ordinalize
Registry
crates.io
Version
4.4.1
Weekly downloads
1,609,357 (weekly)
Dependencies
1: enum-ordinalize-derive
Releases
45
Last release
2026-06-27
First published
2018-09-02
Keywords
enum, number, ordinal, ordinalize
Homepage
https://magiclen.org/enum-ordinalize
Repository
https://github.com/magiclen/enum-ordinalize

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 50.5 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 14.0 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 10.3 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources