| 1 | [package] |
| 2 | name = "num_enum" |
| 3 | version = "0.7.3" # Keep in sync with num_enum_derive, the the dependency on it below. |
| 4 | rust-version = "1.70.0" |
| 5 | authors = [ |
| 6 | "Daniel Wagner-Hall <dawagner@gmail.com>" , |
| 7 | "Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>" , |
| 8 | "Vincent Esche <regexident@gmail.com>" , |
| 9 | ] |
| 10 | description = "Procedural macros to make inter-operation between primitives and enums easier." |
| 11 | edition = "2021" |
| 12 | repository = "https://github.com/illicitonion/num_enum" |
| 13 | readme = "README.md" |
| 14 | keywords = ["enum" , "conversion" , "safe" , "ffi" , "derive" ] |
| 15 | categories = ["rust-patterns" ] |
| 16 | license = "BSD-3-Clause OR MIT OR Apache-2.0" |
| 17 | |
| 18 | [features] |
| 19 | std = ["num_enum_derive/std" ] |
| 20 | complex-expressions = ["num_enum_derive/complex-expressions" ] |
| 21 | external_doc = [] |
| 22 | |
| 23 | default = ["std" ] # disable to use in a `no_std` environment |
| 24 | |
| 25 | [package.metadata.docs.rs] |
| 26 | features = ["external_doc" ] |
| 27 | |
| 28 | [badges] |
| 29 | maintenance = { status = "passively-maintained" } |
| 30 | |
| 31 | [dependencies] |
| 32 | num_enum_derive = { version = "=0.7.3" , path = "../num_enum_derive" , default-features = false } |
| 33 | |
| 34 | [dev-dependencies] |
| 35 | anyhow = "1.0.14" |
| 36 | paste = "1" |
| 37 | rustversion = "1.0.4" |
| 38 | trybuild = "1.0.98" |
| 39 | walkdir = "2" |
| 40 | |