tor-browser

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

Cargo.toml (2714B)


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