Skip to content

Commit

Permalink
fix test deps, include lockfile, and fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
UmanShahzad committed Nov 6, 2020
1 parent 2e608f7 commit 302f04b
Show file tree
Hide file tree
Showing 7 changed files with 1,706 additions and 17 deletions.
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
# will have compiled files and executables
/target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# ViM Swap files
**/*.swp

# editor meta
.vim/
.vscode/
.idea/
14 changes: 14 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
max_width = 79
hard_tabs = false
tab_spaces = 4
newline_style = "Auto"
use_small_heuristics = "Default"
reorder_imports = true
reorder_modules = true
remove_nested_parens = true
fn_args_layout = "Tall"
edition = "2018"
merge_derives = true
use_try_shorthand = false
use_field_init_shorthand = false
force_explicit_abi = true
Loading

0 comments on commit 302f04b

Please sign in to comment.