• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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]
13edition = "2021"
14rust-version = "1.56"
15name = "pin-project-internal"
16version = "1.1.8"
17build = false
18autolib = false
19autobins = false
20autoexamples = false
21autotests = false
22autobenches = false
23description = """
24Implementation detail of the `pin-project` crate.
25"""
26readme = false
27keywords = [
28    "pin",
29    "macros",
30    "attribute",
31]
32categories = [
33    "no-std",
34    "no-std::no-alloc",
35    "rust-patterns",
36]
37license = "Apache-2.0 OR MIT"
38repository = "https://github.com/taiki-e/pin-project"
39
40[package.metadata.docs.rs]
41targets = ["x86_64-unknown-linux-gnu"]
42
43[lib]
44name = "pin_project_internal"
45path = "src/lib.rs"
46proc-macro = true
47
48[dependencies.proc-macro2]
49version = "1.0.60"
50
51[dependencies.quote]
52version = "1.0.25"
53
54[dependencies.syn]
55version = "2.0.1"
56features = [
57    "parsing",
58    "printing",
59    "clone-impls",
60    "proc-macro",
61    "full",
62    "visit-mut",
63]
64default-features = false
65
66[dev-dependencies]
67
68[lints.clippy]
69all = "warn"
70as_ptr_cast_mut = "warn"
71as_underscore = "warn"
72default_union_representation = "warn"
73inline_asm_x86_att_syntax = "warn"
74pedantic = "warn"
75trailing_empty_array = "warn"
76transmute_undefined_repr = "warn"
77undocumented_unsafe_blocks = "warn"
78
79[lints.clippy.bool_assert_comparison]
80level = "allow"
81priority = 1
82
83[lints.clippy.borrow_as_ptr]
84level = "allow"
85priority = 1
86
87[lints.clippy.cast_lossless]
88level = "allow"
89priority = 1
90
91[lints.clippy.declare_interior_mutable_const]
92level = "allow"
93priority = 1
94
95[lints.clippy.doc_markdown]
96level = "allow"
97priority = 1
98
99[lints.clippy.float_cmp]
100level = "allow"
101priority = 1
102
103[lints.clippy.incompatible_msrv]
104level = "allow"
105priority = 1
106
107[lints.clippy.lint_groups_priority]
108level = "allow"
109priority = 1
110
111[lints.clippy.manual_assert]
112level = "allow"
113priority = 1
114
115[lints.clippy.manual_range_contains]
116level = "allow"
117priority = 1
118
119[lints.clippy.missing_errors_doc]
120level = "allow"
121priority = 1
122
123[lints.clippy.module_name_repetitions]
124level = "allow"
125priority = 1
126
127[lints.clippy.naive_bytecount]
128level = "allow"
129priority = 1
130
131[lints.clippy.nonminimal_bool]
132level = "allow"
133priority = 1
134
135[lints.clippy.range_plus_one]
136level = "allow"
137priority = 1
138
139[lints.clippy.similar_names]
140level = "allow"
141priority = 1
142
143[lints.clippy.single_match]
144level = "allow"
145priority = 1
146
147[lints.clippy.single_match_else]
148level = "allow"
149priority = 1
150
151[lints.clippy.struct_excessive_bools]
152level = "allow"
153priority = 1
154
155[lints.clippy.struct_field_names]
156level = "allow"
157priority = 1
158
159[lints.clippy.too_many_arguments]
160level = "allow"
161priority = 1
162
163[lints.clippy.too_many_lines]
164level = "allow"
165priority = 1
166
167[lints.clippy.type_complexity]
168level = "allow"
169priority = 1
170
171[lints.clippy.unreadable_literal]
172level = "allow"
173priority = 1
174
175[lints.rust]
176deprecated_safe = "warn"
177improper_ctypes = "warn"
178improper_ctypes_definitions = "warn"
179non_ascii_idents = "warn"
180rust_2018_idioms = "warn"
181single_use_lifetimes = "warn"
182unreachable_pub = "warn"
183
184[lints.rust.unexpected_cfgs]
185level = "warn"
186priority = 0
187check-cfg = []
188