1
0
Fork 0
forked from mirror/grapevine

update the rust toolchain, ignore new lints

I will fix them in follow-up commits. Also apparently rustc doesn't warn
you when you pass it lints that don't exist (yet) so that's annoying.
This commit is contained in:
Charles Hall 2024-05-21 20:36:04 -07:00
parent 82c37f2983
commit 518d0c9cf3
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
3 changed files with 15 additions and 4 deletions

View file

@ -13,7 +13,9 @@ unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
dead_code = "allow"
unused_qualifications = "allow"
[workspace.lints.clippy]
# Groups. Keep alphabetically sorted
@ -72,6 +74,15 @@ wildcard_dependencies = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
assigning_clones = "allow"
doc_markdown = "allow"
manual_is_variant_and = "allow"
mixed_attributes_style = "allow"
multiple_bound_locations = "allow"
option_as_ref_cloned = "allow"
thread_local_initializer_can_be_made_const = "allow"
unnecessary_to_owned = "allow"
[package]
name = "grapevine"
description = "A Matrix homeserver written in Rust"
@ -80,7 +91,7 @@ version = "0.1.0"
edition = "2021"
# See also `rust-toolchain.toml`
rust-version = "1.75.0"
rust-version = "1.78.0"
[lints]
workspace = true

View file

@ -34,7 +34,7 @@
file = ./rust-toolchain.toml;
# See also `rust-toolchain.toml`
sha256 = "sha256-SXRtAuO4IqNOQq+nLbrsDFbVk+3aVA8NNpSZsKlVH/8=";
sha256 = "sha256-opUgs6ckUQCyDxcB9Wy51pqhd0MPGHUVbwRKKPGiwZU=";
};
});
in

View file

@ -9,7 +9,7 @@
# If you're having trouble making the relevant changes, bug a maintainer.
[toolchain]
channel = "1.75.0"
channel = "1.78.0"
components = [
# For rust-analyzer
"rust-src",