File: Cargo.toml.orig

package info (click to toggle)
rust-num-enum-derive 0.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 168 kB
  • sloc: makefile: 2
file content (41 lines) | stat: -rw-r--r-- 1,247 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "num_enum_derive"
version = "0.7.5"  # Keep in sync with num_enum.
rust-version = "1.70.0"
authors = [
  "Daniel Wagner-Hall <dawagner@gmail.com>",
  "Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>",
  "Vincent Esche <regexident@gmail.com>",
]
description = "Internal implementation details for ::num_enum (Procedural macros to make inter-operation between primitives and enums easier)"
edition = "2021"
repository = "https://github.com/illicitonion/num_enum"
keywords = []
categories = []
license = "BSD-3-Clause OR MIT OR Apache-2.0"

[lib]
proc-macro = true

[features]
# Don't depend on proc-macro-crate in no_std environments because it causes an awkward depndency
# on serde with std.
#
# See https://github.com/illicitonion/num_enum/issues/18
std = ["proc-macro-crate"]
complex-expressions = ["syn/full"]
external_doc = []

default = ["std"]  # disable to use in a `no_std` environment

[package.metadata.docs.rs]
features = ["external_doc"]

[dependencies]
proc-macro2 = "1.0.60"
proc-macro-crate = { version = ">= 1, <= 3", optional = true }
quote = "1"
syn = { version = "2", features = ["derive", "extra-traits", "parsing"] }

[dev-dependencies]
syn = { version = "2", features = ["extra-traits", "parsing"] }