Cargo.toml (3541B)
1 [package] 2 name = "http3server" 3 version = "0.1.1" 4 authors = ["The Mozilla Necko Team <necko@mozilla.com>"] 5 edition = "2021" 6 license = "MPL-2.0" 7 8 [dependencies] 9 neqo-bin = { tag = "v0.21.0", git = "https://github.com/mozilla/neqo" } 10 neqo-transport = { tag = "v0.21.0", git = "https://github.com/mozilla/neqo", features = ["gecko"] } 11 neqo-common = { tag = "v0.21.0", git = "https://github.com/mozilla/neqo" } 12 neqo-http3 = { tag = "v0.21.0", git = "https://github.com/mozilla/neqo" } 13 neqo-qpack = { tag = "v0.21.0", git = "https://github.com/mozilla/neqo" } 14 log = "0.4.0" 15 base64 = "0.22" 16 cfg-if = "1.0" 17 http = "0.2.8" 18 hyper = { version = "0.14", features = ["full"] } 19 socket2 = { version = "0.5.7", default-features = false } 20 tokio = { version = "1", features = ["rt-multi-thread"] } 21 mozilla-central-workspace-hack = { version = "0.1", features = ["http3server"], optional = true } 22 23 [dependencies.neqo-crypto] 24 tag = "v0.21.0" 25 git = "https://github.com/mozilla/neqo" 26 default-features = false 27 features = ["gecko"] 28 29 # Make sure to use bindgen's runtime-loading of libclang, as it allows for a wider range of clang versions to be used 30 [build-dependencies] 31 bindgen = {version = "0.69", default-features = false, features = ["runtime"] } 32 33 [[bin]] 34 name = "http3server" 35 path = "src/main.rs" 36 37 [features] 38 bench = [] # no-op, see <https://github.com/mozilla/neqo/issues/2390> 39 40 # Keep in sync with neqo 41 [lints.rust] 42 absolute_paths_not_starting_with_crate = "warn" 43 ambiguous_negative_literals = "warn" 44 explicit_outlives_requirements = "warn" 45 macro_use_extern_crate = "warn" 46 missing_abi = "warn" 47 non_ascii_idents = "warn" 48 redundant_imports = "warn" 49 redundant_lifetimes = "warn" 50 trivial_numeric_casts = "warn" 51 unit_bindings = "warn" 52 unused_import_braces = "warn" 53 unused_lifetimes = "warn" 54 unused_macro_rules = "warn" 55 unused_qualifications = "warn" 56 57 # Keep in sync with neqo 58 [lints.clippy] 59 cargo = { level = "warn", priority = -1 } 60 nursery = { level = "warn", priority = -1 } 61 pedantic = { level = "warn", priority = -1 } 62 allow_attributes = "warn" 63 allow_attributes_without_reason = "warn" 64 cfg_not_test = "warn" 65 clone_on_ref_ptr = "warn" 66 create_dir = "warn" 67 dbg_macro = "warn" 68 empty_drop = "warn" 69 empty_enum_variants_with_brackets = "warn" 70 filetype_is_file = "warn" 71 float_cmp_const = "warn" 72 fn_to_numeric_cast_any = "warn" 73 get_unwrap = "warn" 74 if_then_some_else_none = "warn" 75 infinite_loop = "warn" 76 large_include_file = "warn" 77 let_underscore_must_use = "warn" 78 let_underscore_untyped = "warn" 79 literal_string_with_formatting_args = "allow" # FIXME: Re-enable "warn" when MSRV is > 1.87. See https://github.com/rust-lang/rust-clippy/pull/13953#issuecomment-2676336899 80 lossy_float_literal = "warn" 81 mem_forget = "warn" 82 mixed_read_write_in_expression = "warn" 83 multiple_crate_versions = "allow" 84 multiple_inherent_impl = "warn" 85 mutex_atomic = "warn" 86 mutex_integer = "warn" 87 needless_raw_strings = "warn" 88 pathbuf_init_then_push = "warn" 89 pub_without_shorthand = "warn" 90 rc_buffer = "warn" 91 rc_mutex = "warn" 92 redundant_type_annotations = "warn" 93 ref_patterns = "warn" 94 renamed_function_params = "warn" 95 rest_pat_in_fully_bound_structs = "warn" 96 self_named_module_files = "warn" 97 semicolon_inside_block = "warn" 98 string_lit_chars_any = "warn" 99 string_to_string = "warn" 100 suspicious_xor_used_as_pow = "warn" 101 try_err = "warn" 102 unnecessary_safety_comment = "warn" 103 unnecessary_safety_doc = "warn" 104 unnecessary_self_imports = "warn" 105 unneeded_field_pattern = "warn" 106 unused_result_ok = "warn" 107 unused_trait_names = "warn" 108 unwrap_in_result = "warn" 109 unwrap_used = "warn" 110 verbose_file_reads = "warn"