Add explicit edition in rustfmt.toml for wider editor/ide compat.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-02-19 05:39:29 +00:00
parent c8a71a4842
commit 0b9df31a41
2 changed files with 4 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ authors = [
]
categories = ["network-programming"]
description = "High Performance Matrix Homeserver in Rust!"
# also update edition in rustfmt.toml
edition = "2024"
homepage = "https://tuwunel.chat"
keywords = [

View File

@@ -1,9 +1,11 @@
edition = "2024"
style_edition = "2024"
array_width = 80
attr_fn_like_width = 60
chain_width = 50
comment_width = 80
condense_wildcard_suffixes = true
style_edition = "2024"
fn_call_width = 80
fn_single_line = true
format_code_in_doc_comments = true