62 lines
1.4 KiB
TOML
62 lines
1.4 KiB
TOML
|
|
# 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"
|
||
|
|
rust-version = "1.68"
|
||
|
|
name = "enum-ordinalize-derive"
|
||
|
|
version = "4.3.2"
|
||
|
|
build = false
|
||
|
|
include = [
|
||
|
|
"src/**/*",
|
||
|
|
"Cargo.toml",
|
||
|
|
"README.md",
|
||
|
|
"LICENSE",
|
||
|
|
]
|
||
|
|
autolib = false
|
||
|
|
autobins = false
|
||
|
|
autoexamples = false
|
||
|
|
autotests = false
|
||
|
|
autobenches = false
|
||
|
|
description = "This crate provides a procedural macro that enables enums to not only obtain the ordinal values of their variants but also allows for the construction of enums from an ordinal value."
|
||
|
|
homepage = "https://magiclen.org/enum-ordinalize"
|
||
|
|
readme = "README.md"
|
||
|
|
keywords = [
|
||
|
|
"enum",
|
||
|
|
"ordinal",
|
||
|
|
"ordinalize",
|
||
|
|
"number",
|
||
|
|
]
|
||
|
|
categories = [
|
||
|
|
"no-std",
|
||
|
|
"rust-patterns",
|
||
|
|
]
|
||
|
|
license = "MIT"
|
||
|
|
repository = "https://github.com/magiclen/enum-ordinalize"
|
||
|
|
|
||
|
|
[features]
|
||
|
|
default = []
|
||
|
|
traits = []
|
||
|
|
|
||
|
|
[lib]
|
||
|
|
name = "enum_ordinalize_derive"
|
||
|
|
path = "src/lib.rs"
|
||
|
|
proc-macro = true
|
||
|
|
|
||
|
|
[dependencies.proc-macro2]
|
||
|
|
version = "1"
|
||
|
|
|
||
|
|
[dependencies.quote]
|
||
|
|
version = "1"
|
||
|
|
|
||
|
|
[dependencies.syn]
|
||
|
|
version = "2"
|