From 967e6723f1097c2e267e9b61012266c0759614f2 Mon Sep 17 00:00:00 2001 From: Brian Ginsburg Date: Fri, 16 Feb 2024 13:17:36 -0800 Subject: [PATCH] chore: Skip formatting with rustfmt::skip --- .rustfmt.toml | 1 - homestar-functions/add/src/lib.rs | 1 + homestar-functions/test/src/lib.rs | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.rustfmt.toml b/.rustfmt.toml index 054cc42f..bbd341df 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1,4 +1,3 @@ edition = "2021" imports_granularity = "Crate" format_generated_files = false -ignore = ["homestar-functions/**/src/bindings.rs"] diff --git a/homestar-functions/add/src/lib.rs b/homestar-functions/add/src/lib.rs index d2fe0deb..ab35a478 100644 --- a/homestar-functions/add/src/lib.rs +++ b/homestar-functions/add/src/lib.rs @@ -1,4 +1,5 @@ #[allow(clippy::all)] +#[rustfmt::skip] mod bindings; use bindings::Guest; diff --git a/homestar-functions/test/src/lib.rs b/homestar-functions/test/src/lib.rs index 147079d1..a7ac1ffd 100644 --- a/homestar-functions/test/src/lib.rs +++ b/homestar-functions/test/src/lib.rs @@ -1,4 +1,5 @@ #[allow(clippy::all, dead_code)] +#[rustfmt::skip] mod bindings; use base64::{engine::general_purpose, Engine};