From ccfdb4934876a831f435b63066bb8695ef045c53 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Tue, 8 Jul 2025 11:10:03 +0300 Subject: [PATCH] Move rustfmt.toml to workspace dir rustfmt looks in parent directories, so we can have a single rustfmt.toml for all crates in the workspace. Signed-off-by: Manos Pitsidianakis --- vhost-device-console/rustfmt.toml => rustfmt.toml | 1 - vhost-device-gpu/rustfmt.toml | 7 ------- vhost-device-sound/rustfmt.toml | 7 ------- 3 files changed, 15 deletions(-) rename vhost-device-console/rustfmt.toml => rustfmt.toml (88%) delete mode 100644 vhost-device-gpu/rustfmt.toml delete mode 100644 vhost-device-sound/rustfmt.toml diff --git a/vhost-device-console/rustfmt.toml b/rustfmt.toml similarity index 88% rename from vhost-device-console/rustfmt.toml rename to rustfmt.toml index ebecb99..5962c36 100644 --- a/vhost-device-console/rustfmt.toml +++ b/rustfmt.toml @@ -1,7 +1,6 @@ edition = "2021" format_generated_files = false format_code_in_doc_comments = true -format_strings = true imports_granularity = "Crate" group_imports = "StdExternalCrate" wrap_comments = true diff --git a/vhost-device-gpu/rustfmt.toml b/vhost-device-gpu/rustfmt.toml deleted file mode 100644 index ebecb99..0000000 --- a/vhost-device-gpu/rustfmt.toml +++ /dev/null @@ -1,7 +0,0 @@ -edition = "2021" -format_generated_files = false -format_code_in_doc_comments = true -format_strings = true -imports_granularity = "Crate" -group_imports = "StdExternalCrate" -wrap_comments = true diff --git a/vhost-device-sound/rustfmt.toml b/vhost-device-sound/rustfmt.toml deleted file mode 100644 index ebecb99..0000000 --- a/vhost-device-sound/rustfmt.toml +++ /dev/null @@ -1,7 +0,0 @@ -edition = "2021" -format_generated_files = false -format_code_in_doc_comments = true -format_strings = true -imports_granularity = "Crate" -group_imports = "StdExternalCrate" -wrap_comments = true