Add explicit edition in rustfmt.toml for wider editor/ide compat.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -16,6 +16,7 @@ authors = [
|
|||||||
]
|
]
|
||||||
categories = ["network-programming"]
|
categories = ["network-programming"]
|
||||||
description = "High Performance Matrix Homeserver in Rust!"
|
description = "High Performance Matrix Homeserver in Rust!"
|
||||||
|
# also update edition in rustfmt.toml
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
homepage = "https://tuwunel.chat"
|
homepage = "https://tuwunel.chat"
|
||||||
keywords = [
|
keywords = [
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
|
edition = "2024"
|
||||||
|
style_edition = "2024"
|
||||||
|
|
||||||
array_width = 80
|
array_width = 80
|
||||||
attr_fn_like_width = 60
|
attr_fn_like_width = 60
|
||||||
chain_width = 50
|
chain_width = 50
|
||||||
comment_width = 80
|
comment_width = 80
|
||||||
condense_wildcard_suffixes = true
|
condense_wildcard_suffixes = true
|
||||||
style_edition = "2024"
|
|
||||||
fn_call_width = 80
|
fn_call_width = 80
|
||||||
fn_single_line = true
|
fn_single_line = true
|
||||||
format_code_in_doc_comments = true
|
format_code_in_doc_comments = true
|
||||||
|
|||||||
Reference in New Issue
Block a user