An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

enum2pos

enum2pos is a rust derive macro for enums that generates "from_index(usize, Vec<String>) -> Option<Self>" and "to_index()" methods for converting between an variants and their position within the enum declaration (similar to an index).

Ecosystem
crates.io
Latest Release
0.1.2
over 1 year ago
Versions
3
Downloads
29,212 total
Links
Registry crates.io
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:cargo/enum2pos
spec
License MIT
First Release almost 3 years ago
Last Synced 5 days ago
Keywords
enum index macro string
Repository
Stars 0 on GitHub
Forks 0 on GitHub
Commits 5
Committers 1
Avg per Author 5.0
DDS 0.0