rawenum_macro 0.1.0

A procedural macro to generate from_* methods for enums based on their integer discriminants.
Documentation
# 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 = "2024"
name = "rawenum_macro"
version = "0.1.0"
authors = ["Roee Shoshani"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A procedural macro to generate from_* methods for enums based on their integer discriminants."
readme = false
keywords = [
    "proc-macro",
    "enum",
    "raw",
    "integer",
    "conversion",
]
categories = [
    "development-tools",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/roeeshoshani/rawenum"

[lib]
name = "rawenum_macro"
path = "src/lib.rs"
proc-macro = true

[[test]]
name = "basic"
path = "tests/basic.rs"

[dependencies.quote]
version = "1.0.40"

[dependencies.syn]
version = "2.0.101"
features = ["full"]