Update for rust 1.99

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