| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| # |
| # When uploading crates to the registry Cargo will automatically |
| # "normalize" Cargo.toml files for maximal compatibility |
| # with all versions of Cargo and also rewrite `path` dependencies |
| # to registry (e.g., crates.io) dependencies. |
| # |
| # If you are reading this file be aware that the original Cargo.toml |
| # will likely look very different (and much more reasonable). |
| # See Cargo.toml.orig for the original contents. |
| |
| [package] |
| edition = "2021" |
| name = "enum-ordinalize" |
| version = "3.1.12" |
| authors = ["Magic Len <[email protected]>"] |
| include = [ |
| "src/**/*", |
| "Cargo.toml", |
| "README.md", |
| "LICENSE", |
| ] |
| description = "This crates provides a procedural macro to let enums not only get its variants' ordinal but also be constructed from an ordinal." |
| homepage = "https://magiclen.org/enum-ordinalize" |
| readme = "README.md" |
| keywords = [ |
| "enum", |
| "ordinal", |
| "ordinalize", |
| "number", |
| ] |
| categories = [ |
| "no-std", |
| "data-structures", |
| ] |
| license = "MIT" |
| repository = "https://github.com/magiclen/enum-ordinalize" |
| |
| [lib] |
| proc-macro = true |
| |
| [dependencies.num-bigint] |
| version = "0.4" |
| |
| [dependencies.num-traits] |
| version = "0.2" |
| |
| [dependencies.proc-macro2] |
| version = "1" |
| |
| [dependencies.quote] |
| version = "1" |
| |
| [dependencies.syn] |
| version = "1" |
| |
| [build-dependencies.rustc_version] |
| version = "0.4" |
| |
| [features] |
| nightly-test = [] |