spiffbot/rustfmt.toml
deepCurse 578918b22f
Updated dependencies
Updated formatting file
Changed the command line argument system
Updated error checking and matching logic to be easier to work with
Moved groups of functions to more correct modules
Updated the constants.rs file and added a help string for use with the new argument system
Disabled lua for now, the rust side of the bot takes priority
Changed the shutdown handler to be easier to work with
Added shutdown monitor task that gets started after the bot is ready, allowing a graceful shutdown from anywhere in the program, authentication is expected to be handled at the place of calling, not within the shutdown function
Added a basic database interface, SQLite will be implemented first as it is the simplest and most useful to the spiff team
2025-02-18 16:46:25 -04:00

33 lines
952 B
TOML

# i use tabs so stop bugging me and go elsewhere already
hard_tabs=true
binop_separator="Back"
condense_wildcard_suffixes = true
empty_item_single_line = false
enum_discrim_align_threshold = 30
struct_field_align_threshold = 30
short_array_element_width_threshold = 30
inline_attribute_width = 50
fn_params_layout = "Compressed"
fn_single_line = true
format_code_in_doc_comments = true
format_macro_matchers = true
hex_literal_case = "Upper"
imports_indent = "Visual"
imports_layout = "Vertical"
# indent_style = "Visual"
match_arm_blocks = false
match_block_trailing_comma = true
max_width = 160
imports_granularity = "Item"
newline_style = "Unix"
normalize_doc_attributes = true
overflow_delimited_expr = true
reorder_impl_items = true
# group_imports = "StdExternalCrate"
space_after_colon = false
# trailing_comma = "Always"
type_punctuation_density = "Compressed"
use_field_init_shorthand = true
use_try_shorthand = true
where_single_line = true