Debian Codegraph @

debian/rust-vendor/displaydoc/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.71.0"
15 name = "displaydoc"
16 version = "0.2.7"
17 authors = ["Jane Lusby <[email protected]>"]
18 build = false
19 include = [
20 "Cargo.toml",
21 "README.md",
22 "LICENSE-MIT",
23 "LICENSE-APACHE",
24 "CHANGELOG.md",
25 "src/**/*.rs",
26 "tests/**/*.rs",
27 ]
28 autolib = false
29 autobins = false
30 autoexamples = false
31 autotests = false
32 autobenches = false
33 description = """
34 A derive macro for implementing the display Trait via a doc comment and string interpolation
35 """
36 homepage = "https://github.com/yaahc/displaydoc"
37 documentation = "https://docs.rs/displaydoc"
38 readme = "README.md"
39 keywords = [
40 "display",
41 "derive",
42 ]
43 license = "MIT OR Apache-2.0"
44 repository = "https://github.com/yaahc/displaydoc"
45
46 [package.metadata.docs.rs]
47 all-features = true
48 rustdoc-args = [
49 "--cfg",
50 "docsrs",
51 ]
52
53 [package.metadata.release]
54 no-dev-version = true
55 pre-release-hook = ["./update-readme.sh"]
56
57 [[package.metadata.release.pre-release-replacements]]
58 file = "CHANGELOG.md"
59 search = "Unreleased"
60 replace = "{{version}}"
61
62 [[package.metadata.release.pre-release-replacements]]
63 file = "src/lib.rs"
64 search = '#!\[doc\(html_root_url.*'
65 replace = '#![doc(html_root_url = "https://docs.rs/{{crate_name}}/{{version}}")]'
66 exactly = 1
67
68 [[package.metadata.release.pre-release-replacements]]
69 file = "CHANGELOG.md"
70 search = "ReleaseDate"
71 replace = "{{date}}"
72
73 [[package.metadata.release.pre-release-replacements]]
74 file = "CHANGELOG.md"
75 search = "<!-- next-header -->"
76 replace = """
77 <!-- next-header -->
78
79 # [Unreleased] - ReleaseDate"""
80 exactly = 1
81
82 [[package.metadata.release.pre-release-replacements]]
83 file = "CHANGELOG.md"
84 search = '\.\.\.HEAD'
85 replace = "...{{tag_name}}"
86 exactly = 1
87
88 [[package.metadata.release.pre-release-replacements]]
89 file = "CHANGELOG.md"
90 search = "<!-- next-url -->"
91 replace = """
92 <!-- next-url -->
93 [Unreleased]: https://github.com/yaahc/{{crate_name}}/compare/{{tag_name}}...HEAD"""
94 exactly = 1
95
96 [features]
97 default = ["std"]
98 std = []
99
100 [lib]
101 name = "displaydoc"
102 path = "src/lib.rs"
103 proc-macro = true
104
105 [[test]]
106 name = "compile_tests"
107 path = "tests/compile_tests.rs"
108
109 [[test]]
110 name = "happy"
111 path = "tests/happy.rs"
112
113 [[test]]
114 name = "no_std"
115 path = "tests/no_std.rs"
116
117 [[test]]
118 name = "num_in_field"
119 path = "tests/num_in_field.rs"
120
121 [[test]]
122 name = "variantless"
123 path = "tests/variantless.rs"
124
125 [dependencies.proc-macro2]
126 version = "1.0"
127
128 [dependencies.quote]
129 version = "1.0"
130
131 [dependencies.syn]
132 version = "3.0"
133
134 [dev-dependencies.libc]
135 version = "0.2"
136 default-features = false
137
138 [dev-dependencies.pretty_assertions]
139 version = "1.4.0"
140
141 [dev-dependencies.rustversion]
142 version = "1.0.0"
143
144 [dev-dependencies.static_assertions]
145 version = "1.1"
146
147 [dev-dependencies.thiserror]
148 version = "1.0.24"
149
150 [dev-dependencies.trybuild]
151 version = "1.0"