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