| 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-bin" |
| 16 |
version = "0.13.4" |
| 17 |
authors = ["The Neqo Authors <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "A basic QUIC HTTP/0.9 and HTTP/3 client and server." |
| 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 |
[package.metadata.cargo-machete] |
| 43 |
ignored = ["log"] |
| 44 |
|
| 45 |
[features] |
| 46 |
bench = [ |
| 47 |
"neqo-bin/bench", |
| 48 |
"neqo-http3/bench", |
| 49 |
"neqo-transport/bench", |
| 50 |
] |
| 51 |
draft-29 = [] |
| 52 |
fast-apple-datapath = ["quinn-udp/fast-apple-datapath"] |
| 53 |
|
| 54 |
[lib] |
| 55 |
name = "neqo_bin" |
| 56 |
path = "src/lib.rs" |
| 57 |
bench = false |
| 58 |
|
| 59 |
[[bin]] |
| 60 |
name = "neqo-client" |
| 61 |
path = "src/bin/client.rs" |
| 62 |
bench = false |
| 63 |
|
| 64 |
[[bin]] |
| 65 |
name = "neqo-server" |
| 66 |
path = "src/bin/server.rs" |
| 67 |
bench = false |
| 68 |
|
| 69 |
[[bench]] |
| 70 |
name = "main" |
| 71 |
path = "benches/main.rs" |
| 72 |
harness = false |
| 73 |
required-features = ["bench"] |
| 74 |
|
| 75 |
[dependencies.clap] |
| 76 |
version = "4.5" |
| 77 |
features = [ |
| 78 |
"std", |
| 79 |
"help", |
| 80 |
"usage", |
| 81 |
"error-context", |
| 82 |
"suggestions", |
| 83 |
"derive", |
| 84 |
] |
| 85 |
default-features = false |
| 86 |
|
| 87 |
[dependencies.clap-verbosity-flag] |
| 88 |
version = "3.0" |
| 89 |
features = ["log"] |
| 90 |
default-features = false |
| 91 |
|
| 92 |
[dependencies.futures] |
| 93 |
version = "0.3" |
| 94 |
features = ["alloc"] |
| 95 |
default-features = false |
| 96 |
|
| 97 |
[dependencies.hex] |
| 98 |
version = "0.4" |
| 99 |
features = ["std"] |
| 100 |
default-features = false |
| 101 |
|
| 102 |
[dependencies.log] |
| 103 |
version = "0.4" |
| 104 |
default-features = false |
| 105 |
|
| 106 |
[dependencies.neqo-common] |
| 107 |
path = "./../neqo-common" |
| 108 |
|
| 109 |
[dependencies.neqo-crypto] |
| 110 |
path = "./../neqo-crypto" |
| 111 |
|
| 112 |
[dependencies.neqo-http3] |
| 113 |
path = "./../neqo-http3" |
| 114 |
|
| 115 |
[dependencies.neqo-transport] |
| 116 |
path = "./../neqo-transport" |
| 117 |
|
| 118 |
[dependencies.neqo-udp] |
| 119 |
path = "./../neqo-udp" |
| 120 |
|
| 121 |
[dependencies.qlog] |
| 122 |
version = "0.15.1" |
| 123 |
default-features = false |
| 124 |
|
| 125 |
[dependencies.quinn-udp] |
| 126 |
version = "0.5.11" |
| 127 |
features = ["direct-log"] |
| 128 |
default-features = false |
| 129 |
|
| 130 |
[dependencies.regex] |
| 131 |
version = "1.9" |
| 132 |
features = ["unicode-perl"] |
| 133 |
default-features = false |
| 134 |
|
| 135 |
[dependencies.tokio] |
| 136 |
version = "1" |
| 137 |
features = [ |
| 138 |
"net", |
| 139 |
"time", |
| 140 |
"macros", |
| 141 |
"rt", |
| 142 |
] |
| 143 |
default-features = false |
| 144 |
|
| 145 |
[dependencies.url] |
| 146 |
version = "2.5" |
| 147 |
features = ["std"] |
| 148 |
default-features = false |
| 149 |
|
| 150 |
[dev-dependencies.criterion] |
| 151 |
version = "0.6" |
| 152 |
features = [ |
| 153 |
"async_tokio", |
| 154 |
"cargo_bench_support", |
| 155 |
] |
| 156 |
default-features = false |
| 157 |
|
| 158 |
[dev-dependencies.neqo-bin] |
| 159 |
path = "." |
| 160 |
features = ["draft-29"] |
| 161 |
|
| 162 |
[dev-dependencies.neqo-http3] |
| 163 |
path = "./../neqo-http3" |
| 164 |
features = ["draft-29"] |
| 165 |
|
| 166 |
[dev-dependencies.neqo-transport] |
| 167 |
path = "./../neqo-transport" |
| 168 |
features = ["draft-29"] |
| 169 |
|
| 170 |
[dev-dependencies.tokio] |
| 171 |
version = "1" |
| 172 |
features = ["sync"] |
| 173 |
default-features = false |
| 174 |
|
| 175 |
[lints.clippy] |
| 176 |
allow_attributes = "warn" |
| 177 |
allow_attributes_without_reason = "warn" |
| 178 |
cfg_not_test = "warn" |
| 179 |
clone_on_ref_ptr = "warn" |
| 180 |
create_dir = "warn" |
| 181 |
dbg_macro = "warn" |
| 182 |
empty_drop = "warn" |
| 183 |
empty_enum_variants_with_brackets = "warn" |
| 184 |
field_scoped_visibility_modifiers = "warn" |
| 185 |
filetype_is_file = "warn" |
| 186 |
float_cmp_const = "warn" |
| 187 |
fn_to_numeric_cast_any = "warn" |
| 188 |
get_unwrap = "warn" |
| 189 |
if_then_some_else_none = "warn" |
| 190 |
infinite_loop = "warn" |
| 191 |
iter_over_hash_type = "warn" |
| 192 |
large_include_file = "warn" |
| 193 |
let_underscore_must_use = "warn" |
| 194 |
let_underscore_untyped = "warn" |
| 195 |
literal_string_with_formatting_args = "allow" |
| 196 |
lossy_float_literal = "warn" |
| 197 |
map_with_unused_argument_over_ranges = "warn" |
| 198 |
mem_forget = "warn" |
| 199 |
mixed_read_write_in_expression = "warn" |
| 200 |
module_name_repetitions = "warn" |
| 201 |
multiple_crate_versions = "allow" |
| 202 |
multiple_inherent_impl = "warn" |
| 203 |
mutex_atomic = "warn" |
| 204 |
mutex_integer = "warn" |
| 205 |
needless_raw_strings = "warn" |
| 206 |
partial_pub_fields = "warn" |
| 207 |
pathbuf_init_then_push = "warn" |
| 208 |
precedence_bits = "warn" |
| 209 |
pub_without_shorthand = "warn" |
| 210 |
rc_buffer = "warn" |
| 211 |
rc_mutex = "warn" |
| 212 |
redundant_test_prefix = "warn" |
| 213 |
redundant_type_annotations = "warn" |
| 214 |
ref_patterns = "warn" |
| 215 |
renamed_function_params = "warn" |
| 216 |
rest_pat_in_fully_bound_structs = "warn" |
| 217 |
return_and_then = "warn" |
| 218 |
self_named_module_files = "warn" |
| 219 |
semicolon_inside_block = "warn" |
| 220 |
string_lit_chars_any = "warn" |
| 221 |
string_to_string = "warn" |
| 222 |
suspicious_xor_used_as_pow = "warn" |
| 223 |
try_err = "warn" |
| 224 |
unnecessary_safety_comment = "warn" |
| 225 |
unnecessary_safety_doc = "warn" |
| 226 |
unnecessary_self_imports = "warn" |
| 227 |
unneeded_field_pattern = "warn" |
| 228 |
unused_result_ok = "warn" |
| 229 |
unused_trait_names = "warn" |
| 230 |
unwrap_in_result = "warn" |
| 231 |
unwrap_used = "warn" |
| 232 |
verbose_file_reads = "warn" |
| 233 |
|
| 234 |
[lints.clippy.cargo] |
| 235 |
level = "warn" |
| 236 |
priority = -1 |
| 237 |
|
| 238 |
[lints.clippy.nursery] |
| 239 |
level = "warn" |
| 240 |
priority = -1 |
| 241 |
|
| 242 |
[lints.clippy.pedantic] |
| 243 |
level = "warn" |
| 244 |
priority = -1 |
| 245 |
|
| 246 |
[lints.rust] |
| 247 |
absolute_paths_not_starting_with_crate = "warn" |
| 248 |
ambiguous_negative_literals = "warn" |
| 249 |
explicit_outlives_requirements = "warn" |
| 250 |
macro_use_extern_crate = "warn" |
| 251 |
missing_abi = "warn" |
| 252 |
non_ascii_idents = "warn" |
| 253 |
redundant_imports = "warn" |
| 254 |
redundant_lifetimes = "warn" |
| 255 |
trivial_numeric_casts = "warn" |
| 256 |
unit_bindings = "warn" |
| 257 |
unused_import_braces = "warn" |
| 258 |
unused_lifetimes = "warn" |
| 259 |
unused_macro_rules = "warn" |
| 260 |
unused_qualifications = "warn" |