Debian Codegraph @

third_party/rust/neqo-transport/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.82.0"
15 name = "neqo-transport"
16 version = "0.13.4"
17 authors = ["The Neqo Authors <[email protected]>"]
18 build = "build.rs"
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "Neqo, the Mozilla implementation of QUIC in Rust."
25 homepage = "https://github.com/mozilla/neqo/"
26 readme = "../README.md"
27 keywords = [
28 "quic",
29 "http3",
30 "neqo",
31 "mozilla",
32 "ietf",
33 "firefox",
34 ]
35 categories = [
36 "network-programming",
37 "web-programming",
38 ]
39 license = "MIT OR Apache-2.0"
40 repository = "https://github.com/mozilla/neqo/"
41
42 [features]
43 bench = [
44 "neqo-common/bench",
45 "neqo-crypto/bench",
46 ]
47 build-fuzzing-corpus = [
48 "neqo-common/build-fuzzing-corpus",
49 "neqo-crypto/disable-encryption",
50 "neqo-crypto/disable-random",
51 "test-fixture/disable-random",
52 ]
53 disable-encryption = ["neqo-crypto/disable-encryption"]
54 draft-29 = []
55 gecko = ["mtu/gecko"]
56
57 [lib]
58 name = "neqo_transport"
59 path = "src/lib.rs"
60 bench = false
61
62 [[test]]
63 name = "conn_vectors"
64 path = "tests/conn_vectors.rs"
65
66 [[test]]
67 name = "connection"
68 path = "tests/connection.rs"
69
70 [[test]]
71 name = "network"
72 path = "tests/network.rs"
73
74 [[test]]
75 name = "retry"
76 path = "tests/retry.rs"
77
78 [[test]]
79 name = "server"
80 path = "tests/server.rs"
81
82 [[test]]
83 name = "sni"
84 path = "tests/sni.rs"
85
86 [[test]]
87 name = "stats"
88 path = "tests/stats.rs"
89
90 [[bench]]
91 name = "min_bandwidth"
92 path = "benches/min_bandwidth.rs"
93 harness = false
94 required-features = ["bench"]
95
96 [[bench]]
97 name = "range_tracker"
98 path = "benches/range_tracker.rs"
99 harness = false
100 required-features = ["bench"]
101
102 [[bench]]
103 name = "rx_stream_orderer"
104 path = "benches/rx_stream_orderer.rs"
105 harness = false
106 required-features = ["bench"]
107
108 [[bench]]
109 name = "sent_packets"
110 path = "benches/sent_packets.rs"
111 harness = false
112 required-features = ["bench"]
113
114 [[bench]]
115 name = "transfer"
116 path = "benches/transfer.rs"
117 harness = false
118 required-features = ["bench"]
119
120 [dependencies.enum-map]
121 version = "2.7"
122 default-features = false
123
124 [dependencies.enumset]
125 version = "1.1"
126 default-features = false
127
128 [dependencies.indexmap]
129 version = "2.2"
130 default-features = false
131
132 [dependencies.log]
133 version = "0.4"
134 default-features = false
135
136 [dependencies.mtu]
137 version = "0.2"
138 default-features = false
139
140 [dependencies.neqo-common]
141 path = "../neqo-common"
142
143 [dependencies.neqo-crypto]
144 path = "../neqo-crypto"
145
146 [dependencies.qlog]
147 version = "0.15.1"
148 default-features = false
149
150 [dependencies.smallvec]
151 version = "1.13"
152 features = [
153 "union",
154 "const_generics",
155 ]
156 default-features = false
157
158 [dependencies.static_assertions]
159 version = "1.1"
160 default-features = false
161
162 [dependencies.strum]
163 version = "0.27"
164 features = ["derive"]
165 default-features = false
166
167 [dev-dependencies.criterion]
168 version = "0.6"
169 features = ["cargo_bench_support"]
170 default-features = false
171
172 [dev-dependencies.neqo-transport]
173 path = "."
174 features = ["draft-29"]
175
176 [dev-dependencies.test-fixture]
177 path = "../test-fixture"
178
179 [lints.clippy]
180 allow_attributes = "warn"
181 allow_attributes_without_reason = "warn"
182 cfg_not_test = "warn"
183 clone_on_ref_ptr = "warn"
184 create_dir = "warn"
185 dbg_macro = "warn"
186 empty_drop = "warn"
187 empty_enum_variants_with_brackets = "warn"
188 field_scoped_visibility_modifiers = "warn"
189 filetype_is_file = "warn"
190 float_cmp_const = "warn"
191 fn_to_numeric_cast_any = "warn"
192 get_unwrap = "warn"
193 if_then_some_else_none = "warn"
194 infinite_loop = "warn"
195 iter_over_hash_type = "warn"
196 large_include_file = "warn"
197 let_underscore_must_use = "warn"
198 let_underscore_untyped = "warn"
199 literal_string_with_formatting_args = "allow"
200 lossy_float_literal = "warn"
201 map_with_unused_argument_over_ranges = "warn"
202 mem_forget = "warn"
203 mixed_read_write_in_expression = "warn"
204 module_name_repetitions = "warn"
205 multiple_crate_versions = "allow"
206 multiple_inherent_impl = "warn"
207 mutex_atomic = "warn"
208 mutex_integer = "warn"
209 needless_raw_strings = "warn"
210 partial_pub_fields = "warn"
211 pathbuf_init_then_push = "warn"
212 precedence_bits = "warn"
213 pub_without_shorthand = "warn"
214 rc_buffer = "warn"
215 rc_mutex = "warn"
216 redundant_test_prefix = "warn"
217 redundant_type_annotations = "warn"
218 ref_patterns = "warn"
219 renamed_function_params = "warn"
220 rest_pat_in_fully_bound_structs = "warn"
221 return_and_then = "warn"
222 self_named_module_files = "warn"
223 semicolon_inside_block = "warn"
224 string_lit_chars_any = "warn"
225 string_to_string = "warn"
226 suspicious_xor_used_as_pow = "warn"
227 try_err = "warn"
228 unnecessary_safety_comment = "warn"
229 unnecessary_safety_doc = "warn"
230 unnecessary_self_imports = "warn"
231 unneeded_field_pattern = "warn"
232 unused_result_ok = "warn"
233 unused_trait_names = "warn"
234 unwrap_in_result = "warn"
235 unwrap_used = "warn"
236 verbose_file_reads = "warn"
237
238 [lints.clippy.cargo]
239 level = "warn"
240 priority = -1
241
242 [lints.clippy.nursery]
243 level = "warn"
244 priority = -1
245
246 [lints.clippy.pedantic]
247 level = "warn"
248 priority = -1
249
250 [lints.rust]
251 absolute_paths_not_starting_with_crate = "warn"
252 ambiguous_negative_literals = "warn"
253 explicit_outlives_requirements = "warn"
254 macro_use_extern_crate = "warn"
255 missing_abi = "warn"
256 non_ascii_idents = "warn"
257 redundant_imports = "warn"
258 redundant_lifetimes = "warn"
259 trivial_numeric_casts = "warn"
260 unit_bindings = "warn"
261 unused_import_braces = "warn"
262 unused_lifetimes = "warn"
263 unused_macro_rules = "warn"
264 unused_qualifications = "warn"