mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-07-04 03:18:11 +00:00
update to gotham 0.5 and start using rustfmt
This commit is contained in:
parent
5317e50961
commit
d55b0897e9
39 changed files with 1798 additions and 2095 deletions
19
rustfmt.toml
Normal file
19
rustfmt.toml
Normal file
|
@ -0,0 +1,19 @@
|
|||
edition = "2018"
|
||||
max_width = 125
|
||||
newline_style = "Unix"
|
||||
unstable_features = true
|
||||
|
||||
# always use tabs.
|
||||
hard_tabs = true
|
||||
tab_spaces = 4
|
||||
|
||||
# commas inbetween but not after
|
||||
match_block_trailing_comma = true
|
||||
trailing_comma = "Never"
|
||||
|
||||
# misc
|
||||
format_code_in_doc_comments = true
|
||||
merge_imports = true
|
||||
overflow_delimited_expr = true
|
||||
use_field_init_shorthand = true
|
||||
use_try_shorthand = true
|
Loading…
Add table
Add a link
Reference in a new issue