-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy pathCargo.toml
101 lines (89 loc) · 2 KB
/
Cargo.toml
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
[package]
name = "derive_more-impl"
version = "1.0.0-beta.6"
edition = "2021"
rust-version = "1.65.0"
description = "Internal implementation of `derive_more` crate"
authors = ["Jelte Fennema <github-tech@jeltef.nl>"]
license = "MIT"
repository = "https://github.com/JelteF/derive_more"
documentation = "https://docs.rs/derive_more"
# explicitly no keywords or categories so it cannot be found easily
include = [
"src/**/*.rs",
"doc/**/*.md",
"Cargo.toml",
"README.md",
"LICENSE",
]
[lib]
proc-macro = true
[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
syn = "2.0"
convert_case = { version = "0.6", optional = true }
unicode-xid = { version = "0.2.2", optional = true }
[build-dependencies]
rustc_version = { version = "0.4", optional = true }
[dev-dependencies]
derive_more = { path = "..", features = ["full"] }
itertools = "0.11.0"
[badges]
github = { repository = "JelteF/derive_more", workflow = "CI" }
[package.metadata.docs.rs]
features = ["full"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
add = []
add_assign = []
as_ref = ["syn/extra-traits", "syn/visit"]
constructor = []
debug = ["syn/extra-traits", "dep:unicode-xid"]
deref = []
deref_mut = []
display = ["syn/extra-traits", "dep:unicode-xid"]
error = ["syn/extra-traits"]
from = ["syn/extra-traits"]
from_str = []
index = []
index_mut = []
into = ["syn/extra-traits"]
into_iterator = []
is_variant = ["dep:convert_case"]
mul = ["syn/extra-traits"]
mul_assign = ["syn/extra-traits"]
not = ["syn/extra-traits"]
sum = []
try_from = []
try_into = ["syn/extra-traits"]
try_unwrap = ["dep:convert_case"]
unwrap = ["dep:convert_case"]
full = [
"add",
"add_assign",
"as_ref",
"constructor",
"debug",
"deref",
"deref_mut",
"display",
"error",
"from",
"from_str",
"index",
"index_mut",
"into",
"into_iterator",
"is_variant",
"mul",
"mul_assign",
"not",
"sum",
"try_from",
"try_into",
"try_unwrap",
"unwrap",
]
testing-helpers = ["dep:rustc_version"]