feat:(first commit)created repository and complete 0.1.0
This commit is contained in:
44
rustfmt.toml
Normal file
44
rustfmt.toml
Normal file
@@ -0,0 +1,44 @@
|
||||
# Rustfmt configuration
|
||||
# See: https://rust-lang.github.io/rustfmt/
|
||||
|
||||
# Maximum width of each line
|
||||
max_width = 100
|
||||
|
||||
# Number of spaces per tab
|
||||
tab_spaces = 4
|
||||
|
||||
# Use field initialization shorthand if possible
|
||||
use_field_init_shorthand = true
|
||||
|
||||
# Reorder import statements alphabetically
|
||||
reorder_imports = true
|
||||
|
||||
# Reorder module statements alphabetically
|
||||
reorder_modules = true
|
||||
|
||||
# Remove nested parentheses
|
||||
remove_nested_parens = true
|
||||
|
||||
# Edition to use for parsing
|
||||
edition = "2021"
|
||||
|
||||
# Merge multiple imports into a single nested import
|
||||
imports_granularity = "Crate"
|
||||
|
||||
# Group imports by std, external crates, and local modules
|
||||
group_imports = "StdExternalCrate"
|
||||
|
||||
# Format code in doc comments
|
||||
format_code_in_doc_comments = true
|
||||
|
||||
# Format strings
|
||||
format_strings = true
|
||||
|
||||
# Wrap comments
|
||||
wrap_comments = true
|
||||
|
||||
# Normalize comments
|
||||
normalize_comments = true
|
||||
|
||||
# Normalize doc attributes
|
||||
normalize_doc_attributes = true
|
||||
Reference in New Issue
Block a user