Files
shadowsocks-rust/rustfmt.toml
Y. T. Chung c60869aa50 Refactor some boxed futures with impl Trait
- Replaced EncryptedWriterFut and DecryptedReaderFut with impl Trait
- Replaced boxed future in try_timeout and io_timeout with a static type
- Modified rustfmt configuration, fully reformatted
2018-10-01 10:32:04 +08:00

18 lines
450 B
TOML

max_width = 120
#indent_style = "Visual"
#fn_call_width = 120
reorder_imports = true
reorder_modules = true
#reorder_imports_in_group = true
#reorder_imported_names = true
condense_wildcard_suffixes = true
#fn_args_layout = "Visual"
#fn_call_style = "Visual"
#chain_indent = "Visual"
normalize_comments = true
use_try_shorthand = true
reorder_impl_items = true
#use_small_heuristics = "Max"
imports_layout = "HorizontalVertical"
merge_imports = true