File: Cargo.toml

package info (click to toggle)
rust-num-enum 0.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 468 kB
  • sloc: makefile: 2
file content (102 lines) | stat: -rw-r--r-- 2,223 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# 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"
rust-version = "1.70.0"
name = "num_enum"
version = "0.7.5"
authors = [
    "Daniel Wagner-Hall <dawagner@gmail.com>",
    "Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>",
    "Vincent Esche <regexident@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros to make inter-operation between primitives and enums easier."
readme = "README.md"
keywords = [
    "enum",
    "conversion",
    "safe",
    "ffi",
    "derive",
]
categories = ["rust-patterns"]
license = "BSD-3-Clause OR MIT OR Apache-2.0"
repository = "https://github.com/illicitonion/num_enum"

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

[badges.maintenance]
status = "passively-maintained"

[features]
complex-expressions = ["num_enum_derive/complex-expressions"]
default = ["std"]
external_doc = []
std = ["num_enum_derive/std"]

[lib]
name = "num_enum"
path = "src/lib.rs"

[[test]]
name = "default"
path = "tests/default.rs"

[[test]]
name = "from_primitive"
path = "tests/from_primitive.rs"

[[test]]
name = "into_primitive"
path = "tests/into_primitive.rs"

[[test]]
name = "renamed_num_enum"
path = "tests/renamed_num_enum.rs"

[[test]]
name = "try_build"
path = "tests/try_build.rs"

[[test]]
name = "try_from_primitive"
path = "tests/try_from_primitive.rs"

[[test]]
name = "unsafe_from_primitive"
path = "tests/unsafe_from_primitive.rs"

[dependencies.num_enum_derive]
version = "=0.7.5"
default-features = false

[dependencies.rustversion]
version = "1.0.4"

[dev-dependencies.anyhow]
version = "1.0.14"

[dev-dependencies.paste]
version = "1"

[dev-dependencies.trybuild]
version = "1.0.98"

[dev-dependencies.walkdir]
version = "2"