diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 00000000..9b18f102 --- /dev/null +++ b/clippy.toml @@ -0,0 +1,4 @@ +cognitive-complexity-threshold = 30 +too-many-arguments-threshold = 7 +too-many-lines-threshold = 200 +type-complexity-threshold = 250 diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 00000000..21b87307 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,9 @@ +edition = "2021" +max_width = 100 +use_small_heuristics = "Max" +imports_granularity = "Crate" +group_imports = "StdExternalCrate" +reorder_imports = true +reorder_modules = true +trailing_comma = "Vertical" +match_arm_blocks = true