From 72ddd7b7704f2087a52c9c0552446682918c513b Mon Sep 17 00:00:00 2001 From: Filip Wandzio Date: Thu, 22 Jan 2026 23:14:08 +0100 Subject: Implement basic game files download logic Implement core clap arguments Respect XDG_BASE_DIR Currently library extraction is broken because it assumes every instace has it's own library folder. This should be refactored so instances share libraries Signed-off-by: Filip Wandzio --- rustfmt.toml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 rustfmt.toml (limited to 'rustfmt.toml') diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..32fb2b2 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,33 @@ +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 +format_macro_bodies = true +format_macro_matchers = true +format_strings = true +group_imports = "StdExternalCrate" +hex_literal_case = "Upper" +imports_granularity = "Crate" +match_arm_blocks = false +match_arm_leading_pipes = "Always" +match_block_trailing_comma = true +max_width = 98 +newline_style = "Unix" +normalize_comments = false +overflow_delimited_expr = true +reorder_impl_items = true +reorder_imports = true +single_line_if_else_max_width = 60 +single_line_let_else_max_width = 80 +struct_lit_width = 40 +tab_spaces = 4 +use_field_init_shorthand = true +use_small_heuristics = "Off" +use_try_shorthand = true +wrap_comments = true +unstable_features = true -- cgit v1.2.3