Debian Codegraph @

third_party/rust/serde_with_macros/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.70"
15 name = "serde_with_macros"
16 version = "3.12.0"
17 authors = ["Jonas Bushart"]
18 build = false
19 include = [
20 "src/**/*",
21 "tests/**/*",
22 "!tests/compile-fail/**",
23 "LICENSE-*",
24 "README.md",
25 "CHANGELOG.md",
26 ]
27 autolib = false
28 autobins = false
29 autoexamples = false
30 autotests = false
31 autobenches = false
32 description = "proc-macro library for serde_with"
33 documentation = "https://docs.rs/serde_with_macros/"
34 readme = "README.md"
35 keywords = [
36 "serde",
37 "utilities",
38 "serialization",
39 "deserialization",
40 ]
41 categories = ["encoding"]
42 license = "MIT OR Apache-2.0"
43 repository = "https://github.com/jonasbb/serde_with/"
44
45 [package.metadata.docs.rs]
46 all-features = true
47
48 [package.metadata.release]
49 tag = false
50
51 [[package.metadata.release.pre-release-replacements]]
52 file = "CHANGELOG.md"
53 replace = """
54 [Unreleased]
55
56 ## [{{version}}] - {{date}}"""
57 search = '\[Unreleased\]'
58
59 [[package.metadata.release.pre-release-replacements]]
60 file = "src/lib.rs"
61 replace = "https://docs.rs/serde_with/{{version}}/"
62 search = 'https://docs\.rs/serde_with/[\d.]+/'
63
64 [[package.metadata.release.pre-release-replacements]]
65 file = "src/lib.rs"
66 replace = "https://docs.rs/serde_with_macros/{{version}}/"
67 search = 'https://docs\.rs/serde_with_macros/[\d.]+/'
68
69 [lib]
70 name = "serde_with_macros"
71 path = "src/lib.rs"
72 proc-macro = true
73
74 [[test]]
75 name = "apply"
76 path = "tests/apply.rs"
77
78 [[test]]
79 name = "compiler-messages"
80 path = "tests/compiler-messages.rs"
81
82 [[test]]
83 name = "serde_as_issue_267"
84 path = "tests/serde_as_issue_267.rs"
85
86 [[test]]
87 name = "serde_as_issue_538"
88 path = "tests/serde_as_issue_538.rs"
89
90 [[test]]
91 name = "skip_serializing_null"
92 path = "tests/skip_serializing_null.rs"
93
94 [[test]]
95 name = "version_numbers"
96 path = "tests/version_numbers.rs"
97
98 [dependencies.darling]
99 version = "0.20.0"
100
101 [dependencies.proc-macro2]
102 version = "1.0.1"
103
104 [dependencies.quote]
105 version = "1.0.0"
106
107 [dependencies.syn]
108 version = "2.0.0"
109 features = [
110 "extra-traits",
111 "full",
112 "parsing",
113 ]
114
115 [dev-dependencies.expect-test]
116 version = "1.5.0"
117
118 [dev-dependencies.pretty_assertions]
119 version = "1.4.0"
120
121 [dev-dependencies.rustversion]
122 version = "1.0.0"
123
124 [dev-dependencies.serde]
125 version = "1.0.152"
126 features = ["derive"]
127
128 [dev-dependencies.serde_json]
129 version = "1.0.25"
130
131 [dev-dependencies.trybuild]
132 version = "1.0.80"
133
134 [dev-dependencies.version-sync]
135 version = "0.9.1"
136
137 [features]
138 schemars_0_8 = []
139
140 [badges.maintenance]
141 status = "actively-developed"
142
143 [lints.clippy]
144 cloned_instead_of_copied = "warn"
145 default_trait_access = "warn"
146 doc_markdown = "warn"
147 explicit_auto_deref = "allow"
148 manual-unwrap-or-default = "allow"
149 redundant_closure_for_method_calls = "warn"
150 semicolon_if_nothing_returned = "warn"
151
152 [lints.rust]
153 missing_docs = "warn"
154 trivial_casts = "warn"
155 trivial_numeric_casts = "warn"
156 unused_extern_crates = "warn"
157 unused_import_braces = "warn"
158 variant_size_differences = "warn"
159
160 [lints.rust.rust_2018_idioms]
161 level = "warn"
162 priority = -1
163
164 [lints.rust.unexpected_cfgs]
165 level = "warn"
166 priority = 0
167 check-cfg = [
168 "cfg(tarpaulin)",
169 "cfg(tarpaulin_include)",
170 ]
171
172 [lints.rustdoc]
173 missing_crate_level_docs = "warn"