diff --git a/contracts/liquidity_book/rustfmt.toml b/contracts/liquidity_book/rustfmt.toml new file mode 100644 index 00000000..93b23e8d --- /dev/null +++ b/contracts/liquidity_book/rustfmt.toml @@ -0,0 +1,7 @@ +# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md + +# Stable configurations +edition = "2021" +max_width = 100 +merge_derives = true +use_field_init_shorthand = true diff --git a/packages/lb_libraries/rustfmt.toml b/packages/lb_libraries/rustfmt.toml new file mode 100644 index 00000000..93b23e8d --- /dev/null +++ b/packages/lb_libraries/rustfmt.toml @@ -0,0 +1,7 @@ +# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md + +# Stable configurations +edition = "2021" +max_width = 100 +merge_derives = true +use_field_init_shorthand = true