diff --git a/.rustfmt.toml b/.rustfmt.toml index c7ad93b..b7cda23 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1 +1,4 @@ -disable_all_formatting = true +imports_layout = "Vertical" +max_width = 120 +match_block_trailing_comma = true +use_small_heuristics = "Off" \ No newline at end of file diff --git a/lmdb-sys/.rustfmt.toml b/lmdb-sys/.rustfmt.toml new file mode 100644 index 0000000..fc441bb --- /dev/null +++ b/lmdb-sys/.rustfmt.toml @@ -0,0 +1,3 @@ +ignore = [ + "src/bindings.rs" +] \ No newline at end of file