Cargo.toml (3602B)
1 [package] 2 name = "neqo_glue" 3 version = "0.1.0" 4 authors = ["The Mozilla Necko Team <necko@mozilla.com>"] 5 edition = "2021" 6 license = "MPL-2.0" 7 8 [lib] 9 name = "neqo_glue" 10 11 [dependencies] 12 firefox-on-glean = { path = "../../../toolkit/components/glean/api" } 13 neqo-udp = { tag = "v0.21.0", git = "https://github.com/mozilla/neqo" } 14 neqo-http3 = { tag = "v0.21.0", git = "https://github.com/mozilla/neqo" } 15 neqo-transport = { tag = "v0.21.0", git = "https://github.com/mozilla/neqo", features = ["gecko"] } 16 neqo-common = { tag = "v0.21.0", git = "https://github.com/mozilla/neqo" } 17 neqo-qpack = { tag = "v0.21.0", git = "https://github.com/mozilla/neqo" } 18 nserror = { path = "../../../xpcom/rust/nserror" } 19 nsstring = { path = "../../../xpcom/rust/nsstring" } 20 xpcom = { path = "../../../xpcom/rust/xpcom" } 21 thin-vec = { version = "0.2.1", features = ["gecko-ffi"] } 22 log = "0.4.0" 23 qlog = "0.15.1" 24 libc = "0.2.0" 25 static_assertions = "1.1" 26 static_prefs = { path = "../../../modules/libpref/init/static_prefs"} 27 uuid = { version = "1.0", features = ["v4"] } 28 zlib-rs = "0.4.2" 29 30 [target.'cfg(target_os = "windows")'.dependencies] 31 winapi = {version = "0.3", features = ["ws2def"] } 32 33 [dependencies.neqo-crypto] 34 tag = "v0.21.0" 35 git = "https://github.com/mozilla/neqo" 36 default-features = false 37 features = ["gecko"] 38 39 [features] 40 bench = [] # no-op, see <https://github.com/mozilla/neqo/issues/2390> 41 fuzzing = ["neqo-http3/disable-encryption"] 42 43 # Keep in sync with neqo 44 [lints.rust] 45 absolute_paths_not_starting_with_crate = "warn" 46 ambiguous_negative_literals = "warn" 47 explicit_outlives_requirements = "warn" 48 macro_use_extern_crate = "warn" 49 missing_abi = "warn" 50 non_ascii_idents = "warn" 51 redundant_imports = "warn" 52 redundant_lifetimes = "warn" 53 trivial_numeric_casts = "warn" 54 unit_bindings = "warn" 55 unused_import_braces = "warn" 56 unused_lifetimes = "warn" 57 unused_macro_rules = "warn" 58 unused_qualifications = "warn" 59 60 # Keep in sync with neqo 61 [lints.clippy] 62 cargo = { level = "warn", priority = -1 } 63 nursery = { level = "warn", priority = -1 } 64 pedantic = { level = "warn", priority = -1 } 65 allow_attributes = "warn" 66 allow_attributes_without_reason = "warn" 67 cfg_not_test = "warn" 68 clone_on_ref_ptr = "warn" 69 create_dir = "warn" 70 dbg_macro = "warn" 71 empty_drop = "warn" 72 empty_enum_variants_with_brackets = "warn" 73 filetype_is_file = "warn" 74 float_cmp_const = "warn" 75 fn_to_numeric_cast_any = "warn" 76 get_unwrap = "warn" 77 if_then_some_else_none = "warn" 78 infinite_loop = "warn" 79 large_include_file = "warn" 80 let_underscore_must_use = "warn" 81 let_underscore_untyped = "warn" 82 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 83 lossy_float_literal = "warn" 84 mem_forget = "warn" 85 mixed_read_write_in_expression = "warn" 86 multiple_crate_versions = "allow" 87 multiple_inherent_impl = "warn" 88 mutex_atomic = "warn" 89 mutex_integer = "warn" 90 needless_raw_strings = "warn" 91 pathbuf_init_then_push = "warn" 92 pub_without_shorthand = "warn" 93 rc_buffer = "warn" 94 rc_mutex = "warn" 95 redundant_type_annotations = "warn" 96 ref_patterns = "warn" 97 renamed_function_params = "warn" 98 rest_pat_in_fully_bound_structs = "warn" 99 self_named_module_files = "warn" 100 semicolon_inside_block = "warn" 101 string_lit_chars_any = "warn" 102 string_to_string = "warn" 103 suspicious_xor_used_as_pow = "warn" 104 try_err = "warn" 105 unnecessary_safety_comment = "warn" 106 unnecessary_safety_doc = "warn" 107 unnecessary_self_imports = "warn" 108 unneeded_field_pattern = "warn" 109 unused_result_ok = "warn" 110 unused_trait_names = "warn" 111 unwrap_in_result = "warn" 112 unwrap_used = "warn" 113 verbose_file_reads = "warn"