diff --git a/Cargo.lock b/Cargo.lock index 0228e76..44748c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1643,9 +1643,9 @@ dependencies = [ [[package]] name = "lazy_static" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" [[package]] name = "lexical-core" @@ -1762,13 +1762,13 @@ checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f" [[package]] name = "mac_address" -version = "1.1.8" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0aeb26bf5e836cc1c341c8106051b573f1766dfa05aa87f0b98be5e51b02303" +checksum = "b367b50a9be9a5d3b5718c1da74e5d6b9c17647f89752ee2562a470cc3c4eb1a" dependencies = [ "nix", "serde", - "winapi", + "windows-sys 0.61.2", ] [[package]] @@ -1818,9 +1818,9 @@ dependencies = [ [[package]] name = "nix" -version = "0.29.0" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" +checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" dependencies = [ "bitflags", "cfg-if", @@ -2089,9 +2089,9 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.11.18" +version = "0.11.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9746dbde176634f4f2f1faf2404e30a31b2bc1e9cafb5329c95d8177a18c9fc" +checksum = "0e750cca55fe4f0439a15d0bb529da9651e79993e8e72c61a899a36d462befbe" dependencies = [ "aws-lc-rs", "bytes", @@ -2112,9 +2112,9 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.15" +version = "0.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35a133f956daabe89a61a685c2649f13d82d5aa4bd5d12d1277e1072a21c0694" +checksum = "af66907df18639dcf4db56ca65490cabc4b27a97dbadd96f2926cca73298f016" dependencies = [ "cfg_aliases", "libc", @@ -3673,22 +3673,6 @@ version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "626c4bac6755d76ffc12cb01b2eac751db1996b9e0041de9aa02c8c211ddc82c" -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - [[package]] name = "winapi-util" version = "0.1.11" @@ -3698,12 +3682,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - [[package]] name = "windows-core" version = "0.62.2" @@ -3885,9 +3863,9 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33811428bee40dbceb6d545e95754741d17a6aef9a4849f0fd62e2ba4f412a78" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 01aa7bd..0d0acac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,6 +66,7 @@ as_conversions = "deny" as_pointer_underscore = "deny" as_ptr_cast_mut = "deny" as_underscore = "deny" +assert_is_empty = "allow" assertions_on_result_states = "warn" assigning_clones = "warn" big_endian_bytes = "allow" @@ -98,6 +99,7 @@ decimal_literal_representation = "warn" default_numeric_fallback = "warn" default_trait_access = "warn" default_union_representation = "allow" +definition_in_module_root = "allow" deref_by_slicing = "warn" derive_partial_eq_without_eq = "warn" disallowed_script_idents = "deny" @@ -189,6 +191,7 @@ lossy_float_literal = "warn" macro_use_imports = "warn" manual_assert = "warn" manual_assert_eq = "warn" +manual_bit_width = "warn" manual_ilog2 = "warn" manual_instant_elapsed = "warn" manual_is_power_of_two = "warn" @@ -245,7 +248,6 @@ non_send_fields_in_send_ty = "warn" non_std_lazy_statics = "warn" non_zero_suggestions = "warn" nonminimal_bool = "warn" -nonstandard_macro_braces = "warn" option_as_ref_cloned = "warn" option_if_let_else = "warn" option_option = "warn" @@ -287,6 +289,7 @@ ref_option_ref = "warn" ref_patterns = "warn" renamed_function_params = "warn" rest_pat_in_fully_bound_structs = "warn" +rest_pattern_accessible_field = "warn" return_and_then = "warn" return_self_not_must_use = "warn" same_functions_in_if_condition = "warn" @@ -350,6 +353,7 @@ unnecessary_box_returns = "warn" unnecessary_debug_formatting = "warn" unnecessary_join = "warn" unnecessary_literal_bound = "warn" +unnecessary_rest_pattern = "warn" unnecessary_safety_comment = "warn" unnecessary_safety_doc = "warn" unnecessary_self_imports = "warn" @@ -479,7 +483,6 @@ mutable_transmutes = "deny" named_arguments_used_positionally = "warn" named_asm_labels = "deny" no_mangle_const_items = "deny" -no_mangle_generic_items = "warn" non_ascii_idents = "deny" non_contiguous_range_endpoints = "warn" non_local_definitions = "warn" @@ -491,6 +494,7 @@ overlapping_range_endpoints = "warn" private_bounds = "warn" private_interfaces = "warn" ptr_to_integer_transmute_in_consts = "warn" +raw_borrows_via_references = "warn" redundant_imports = "warn" redundant_lifetimes = "warn" renamed_and_removed_lints = "warn" @@ -520,7 +524,6 @@ unnameable_test_items = "warn" unnameable_types = "warn" unnecessary_transmutes = "warn" unpredictable_function_pointer_comparisons = "warn" -unreachable_cfg_select_predicates = "warn" unreachable_pub = "warn" unsafe_code = "forbid" unstable_features = "forbid" @@ -541,7 +544,9 @@ while_true = "warn" # unstable lints # default_overrides_default_fields = "deny" # deprecated_llvm_intrinsic = "warn" +# duplicate_tools = "deny" # implicit_provenance_casts = "deny" +# malformed_diagnostic_filters = "warn" # multiple_supertrait_upcastable = "warn" # must_not_suspend = "warn" # non_exhaustive_omitted_patterns = "warn" @@ -553,6 +558,7 @@ while_true = "warn" [workspace.lints.rustdoc] bare_urls = "warn" +broken_footnote = "warn" broken_intra_doc_links = "warn" invalid_codeblock_attributes = "warn" invalid_html_tags = "warn" @@ -562,6 +568,7 @@ private_doc_tests = "warn" private_intra_doc_links = "warn" redundant_explicit_links = "warn" unescaped_backticks = "warn" +unused_footnote_definition = "warn" # unstable lints # missing_doc_code_examples = "warn" diff --git a/crates/fs/src/scanner/collection.rs b/crates/fs/src/scanner/collection.rs index 763208a..e16f7eb 100644 --- a/crates/fs/src/scanner/collection.rs +++ b/crates/fs/src/scanner/collection.rs @@ -72,7 +72,6 @@ impl From for Scanner { impl Scanner { /// Scan a folder for a collection. #[inline] - #[must_use] #[expect(clippy::allow_attributes, reason = "for tail_expr_drop_order")] #[allow(tail_expr_drop_order, reason = "bug in stream! macro")] #[expect(clippy::semicolon_if_nothing_returned, reason = "false positive")] diff --git a/justfile b/justfile index 55d4309..270884a 100644 --- a/justfile +++ b/justfile @@ -33,7 +33,7 @@ example: doc *args: RUSTDOCFLAGS="--cfg docsrs -D warnings" cargo +nightly doc \ --workspace --all-features --document-private-items \ - --lib --bins --no-deps --locked \ + --lib --no-deps --locked \ {{ args }} format: diff --git a/rust-toolchain.toml b/rust-toolchain.toml index e000fd2..2758618 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.98" +channel = "1.99"