1 | [package] |
2 | name = "num_enum" |
3 | version = "0.7.2" # Keep in sync with num_enum_derive, the the dependency on it below. |
4 | rust-version = "1.56.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 | travis-ci = { repository = "illicitonion/num_enum" , branch = "master" } |
30 | maintenance = { status = "passively-maintained" } |
31 | |
32 | [dependencies] |
33 | num_enum_derive = { version = "=0.7.2" , path = "../num_enum_derive" , default-features = false } |
34 | |
35 | [dev-dependencies] |
36 | anyhow = "1.0.14" |
37 | paste = "1" |
38 | rustversion = "1.0.4" |
39 | trybuild = "1.0.49" |
40 | walkdir = "2" |
41 | |