enum-ordinalize

crates.io v4.3.2

1,318,908 weekly downloads · 1 Dependencies

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,318,908 Source: crates.io (Rust)
Releases 43 Last release: 2025-10-28 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.3.2
Weekly downloads
1,318,908 (weekly)
Dependencies
1: enum-ordinalize-derive
Releases
43
Last release
2025-10-28
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 15.2 / 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 34.6 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources