tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Cargo.toml (2536B)


      1 [package]
      2 edition = "2021"
      3 name = "mozurl"
      4 version = "0.0.1"
      5 authors = ["Nika Layzell <nika@thelayzells.com>"]
      6 license = "MPL-2.0"
      7 
      8 [dependencies]
      9 url = "2.4"
     10 nserror = { path = "../../../xpcom/rust/nserror" }
     11 nsstring = { path = "../../../xpcom/rust/nsstring" }
     12 xpcom = { path = "../../../xpcom/rust/xpcom" }
     13 uuid = { version = "1.0", features = ["v4"] }
     14 
     15 # Keep in sync with neqo
     16 [lints.rust]
     17 absolute_paths_not_starting_with_crate = "warn"
     18 ambiguous_negative_literals = "warn"
     19 explicit_outlives_requirements = "warn"
     20 macro_use_extern_crate = "warn"
     21 missing_abi = "warn"
     22 non_ascii_idents = "warn"
     23 redundant_imports = "warn"
     24 redundant_lifetimes = "warn"
     25 trivial_numeric_casts = "warn"
     26 unit_bindings = "warn"
     27 unused_import_braces = "warn"
     28 unused_lifetimes = "warn"
     29 unused_macro_rules = "warn"
     30 unused_qualifications = "warn"
     31 
     32 # Keep in sync with neqo
     33 [lints.clippy]
     34 cargo = { level = "warn", priority = -1 }
     35 nursery = { level = "warn", priority = -1 }
     36 pedantic = { level = "warn", priority = -1 }
     37 allow_attributes = "warn"
     38 allow_attributes_without_reason = "warn"
     39 cfg_not_test = "warn"
     40 clone_on_ref_ptr = "warn"
     41 create_dir = "warn"
     42 dbg_macro = "warn"
     43 empty_drop = "warn"
     44 empty_enum_variants_with_brackets = "warn"
     45 filetype_is_file = "warn"
     46 float_cmp_const = "warn"
     47 fn_to_numeric_cast_any = "warn"
     48 get_unwrap = "warn"
     49 if_then_some_else_none = "warn"
     50 infinite_loop = "warn"
     51 large_include_file = "warn"
     52 let_underscore_must_use = "warn"
     53 let_underscore_untyped = "warn"
     54 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
     55 lossy_float_literal = "warn"
     56 mem_forget = "warn"
     57 mixed_read_write_in_expression = "warn"
     58 multiple_crate_versions = "allow"
     59 multiple_inherent_impl = "warn"
     60 mutex_atomic = "warn"
     61 mutex_integer = "warn"
     62 needless_raw_strings = "warn"
     63 pathbuf_init_then_push = "warn"
     64 pub_without_shorthand = "warn"
     65 rc_buffer = "warn"
     66 rc_mutex = "warn"
     67 redundant_type_annotations = "warn"
     68 ref_patterns = "warn"
     69 renamed_function_params = "warn"
     70 rest_pat_in_fully_bound_structs = "warn"
     71 self_named_module_files = "warn"
     72 semicolon_inside_block = "warn"
     73 string_lit_chars_any = "warn"
     74 string_to_string = "warn"
     75 suspicious_xor_used_as_pow = "warn"
     76 try_err = "warn"
     77 unnecessary_safety_comment = "warn"
     78 unnecessary_safety_doc = "warn"
     79 unnecessary_self_imports = "warn"
     80 unneeded_field_pattern = "warn"
     81 unused_result_ok = "warn"
     82 unused_trait_names = "warn"
     83 unwrap_in_result = "warn"
     84 unwrap_used = "warn"
     85 verbose_file_reads = "warn"