Debian Codegraph @

third_party/rust/neqo-common/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-common"
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-crypto/bench",
45 "test-fixture/bench",
46 ]
47 build-fuzzing-corpus = ["hex/alloc"]
48 ci = []
49 test-fixture = []
50
51 [lib]
52 name = "neqo_common"
53 path = "src/lib.rs"
54 bench = false
55
56 [[test]]
57 name = "log"
58 path = "tests/log.rs"
59
60 [[bench]]
61 name = "decoder"
62 path = "benches/decoder.rs"
63 harness = false
64 required-features = ["bench"]
65
66 [dependencies.enum-map]
67 version = "2.7"
68 default-features = false
69
70 [dependencies.env_logger]
71 version = "0.10"
72 default-features = false
73
74 [dependencies.hex]
75 version = "0.4"
76 optional = true
77 default-features = false
78
79 [dependencies.log]
80 version = "0.4"
81 default-features = false
82
83 [dependencies.qlog]
84 version = "0.15.1"
85 default-features = false
86
87 [dependencies.strum]
88 version = "0.27"
89 features = ["derive"]
90 default-features = false
91
92 [dev-dependencies.criterion]
93 version = "0.6"
94 features = ["cargo_bench_support"]
95 default-features = false
96
97 [dev-dependencies.neqo-crypto]
98 path = "../neqo-crypto"
99
100 [dev-dependencies.regex]
101 version = "1.9"
102 default-features = false
103
104 [dev-dependencies.test-fixture]
105 path = "../test-fixture"
106
107 [target."cfg(windows)".dependencies.windows]
108 version = "0.58"
109 features = ["Win32_Media"]
110 default-features = false
111
112 [lints.clippy]
113 allow_attributes = "warn"
114 allow_attributes_without_reason = "warn"
115 cfg_not_test = "warn"
116 clone_on_ref_ptr = "warn"
117 create_dir = "warn"
118 dbg_macro = "warn"
119 empty_drop = "warn"
120 empty_enum_variants_with_brackets = "warn"
121 field_scoped_visibility_modifiers = "warn"
122 filetype_is_file = "warn"
123 float_cmp_const = "warn"
124 fn_to_numeric_cast_any = "warn"
125 get_unwrap = "warn"
126 if_then_some_else_none = "warn"
127 infinite_loop = "warn"
128 iter_over_hash_type = "warn"
129 large_include_file = "warn"
130 let_underscore_must_use = "warn"
131 let_underscore_untyped = "warn"
132 literal_string_with_formatting_args = "allow"
133 lossy_float_literal = "warn"
134 map_with_unused_argument_over_ranges = "warn"
135 mem_forget = "warn"
136 mixed_read_write_in_expression = "warn"
137 module_name_repetitions = "warn"
138 multiple_crate_versions = "allow"
139 multiple_inherent_impl = "warn"
140 mutex_atomic = "warn"
141 mutex_integer = "warn"
142 needless_raw_strings = "warn"
143 partial_pub_fields = "warn"
144 pathbuf_init_then_push = "warn"
145 precedence_bits = "warn"
146 pub_without_shorthand = "warn"
147 rc_buffer = "warn"
148 rc_mutex = "warn"
149 redundant_test_prefix = "warn"
150 redundant_type_annotations = "warn"
151 ref_patterns = "warn"
152 renamed_function_params = "warn"
153 rest_pat_in_fully_bound_structs = "warn"
154 return_and_then = "warn"
155 self_named_module_files = "warn"
156 semicolon_inside_block = "warn"
157 string_lit_chars_any = "warn"
158 string_to_string = "warn"
159 suspicious_xor_used_as_pow = "warn"
160 try_err = "warn"
161 unnecessary_safety_comment = "warn"
162 unnecessary_safety_doc = "warn"
163 unnecessary_self_imports = "warn"
164 unneeded_field_pattern = "warn"
165 unused_result_ok = "warn"
166 unused_trait_names = "warn"
167 unwrap_in_result = "warn"
168 unwrap_used = "warn"
169 verbose_file_reads = "warn"
170
171 [lints.clippy.cargo]
172 level = "warn"
173 priority = -1
174
175 [lints.clippy.nursery]
176 level = "warn"
177 priority = -1
178
179 [lints.clippy.pedantic]
180 level = "warn"
181 priority = -1
182
183 [lints.rust]
184 absolute_paths_not_starting_with_crate = "warn"
185 ambiguous_negative_literals = "warn"
186 explicit_outlives_requirements = "warn"
187 macro_use_extern_crate = "warn"
188 missing_abi = "warn"
189 non_ascii_idents = "warn"
190 redundant_imports = "warn"
191 redundant_lifetimes = "warn"
192 trivial_numeric_casts = "warn"
193 unit_bindings = "warn"
194 unused_import_braces = "warn"
195 unused_lifetimes = "warn"
196 unused_macro_rules = "warn"
197 unused_qualifications = "warn"