diff --git a/.clippy.toml b/.clippy.toml new file mode 100644 index 00000000..c5898979 --- /dev/null +++ b/.clippy.toml @@ -0,0 +1,4 @@ +avoid-breaking-exported-api = false +allowed-idents-below-min-chars = [ "x", "y", "z", "r", "g", "b", "c", "s" ] +absolute-paths-allowed-crates = [ "cstree" ] +allowed-wildcard-imports = [ "super", "Kind" ] diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 00000000..3663d8db --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,5 @@ +edition = "2024" # Keep in sync with Cargo.toml. +group_imports = "StdExternalCrate" +doc_comment_code_block_width = 100 +condense_wildcard_suffixes = true +imports_granularity = "Crate"