[formatting] align_comments = false [[rule]] include = ["**/Cargo.toml"] keys = [ "dependencies", "workspace.dependencies", "build-dependencies", "dev-dependencies", "workspace.lints.clippy", "workspace.lints.rust", ] formatting = { reorder_keys = true } [[rule]] include = ["rust-toolchain.toml", "rust-toolchain-*.toml"] # TODO taplo sort is buggy #waiting #ecosystem/taplo #keys = ["toolchain.components", "toolchain.targets"] keys = ["toolchain"] formatting = { reorder_arrays = true } [[rule]] include = ["deny.toml"] # TODO taplo sort is buggy #waiting #ecosystem/taplo #keys = ["graph.targets", "licenses.allow", "licenses.exceptions.allow"] keys = ["graph", "licenses"] formatting = { reorder_arrays = true } [[rule]] include = ["deny.toml"] keys = ["bans"] formatting = { reorder_keys = true } [[rule]] include = ["deny.toml"] # TODO taplo sort is buggy #waiting #ecosystem/taplo #keys = ["sources.allow-git", "sources.allow-registry"] keys = ["sources"] formatting = { reorder_arrays = true }