| # 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 = "open-enum" |
| version = "0.5.2" |
| authors = ["Alyssa Haroldsen <[email protected]>"] |
| include = [ |
| "/src", |
| "/LICENSE", |
| "Cargo.toml", |
| ] |
| description = "An attribute for generating \"open\" fieldless enums, those that accept any integer value, by using a newtype struct and associated constants" |
| readme = "README.md" |
| keywords = [ |
| "enum", |
| "open", |
| "integer", |
| "newtype", |
| ] |
| categories = [ |
| "no-std", |
| "rust-patterns", |
| ] |
| license = "Apache-2.0" |
| repository = "https://github.com/kupiakos/open-enum" |
| |
| [[bin]] |
| name = "test_lints" |
| path = "src/test-lints.rs" |
| |
| [dependencies.libc] |
| version = "0.2" |
| optional = true |
| |
| [dependencies.open-enum-derive] |
| version = "=0.5.2" |
| |
| [dev-dependencies.trybuild] |
| version = "1" |
| |
| [dev-dependencies.zerocopy] |
| version = "0.7.11" |
| features = ["derive"] |
| |
| [features] |
| libc_ = [ |
| "libc", |
| "open-enum-derive/repr_c", |
| ] |
| std = ["open-enum-derive/repr_c"] |