commit c41eec518618ca7b0de18b2d2e6d367d7e7aba36
parent 040e4d2de9a45c6d04ad38b95e5408947299e243
Author: triesap <tyson@radroots.org>
Date: Sun, 15 Feb 2026 17:51:04 +0000
sql-core: apply cargo fmt
Diffstat:
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/sql-core/src/executor_sqlite.rs b/sql-core/src/executor_sqlite.rs
@@ -1,5 +1,5 @@
-use crate::{ExecOutcome, SqlExecutor, error::SqlError};
use crate::sqlite_util;
+use crate::{ExecOutcome, SqlExecutor, error::SqlError};
use rusqlite::{Connection, params_from_iter};
use serde_json::Value;
use std::path::Path;
@@ -23,7 +23,6 @@ impl SqliteExecutor {
conn: Arc::new(Mutex::new(conn)),
})
}
-
}
impl SqlExecutor for SqliteExecutor {
diff --git a/sql-core/src/executor_wasm.rs b/sql-core/src/executor_wasm.rs
@@ -1,5 +1,5 @@
-use crate::{ExecOutcome, SqlExecutor, error::SqlError};
use crate::export_lock::{EXPORT_LOCK_ERR, export_lock_blocked};
+use crate::{ExecOutcome, SqlExecutor, error::SqlError};
pub struct WasmSqlExecutor;
diff --git a/sql-core/src/lib.rs b/sql-core/src/lib.rs
@@ -9,7 +9,9 @@ pub mod migrations;
#[cfg(all(feature = "web", target_arch = "wasm32"))]
mod export_lock;
#[cfg(all(feature = "web", target_arch = "wasm32"))]
-pub use export_lock::{export_lock_active, export_lock_begin, export_lock_end, with_export_lock_bypass};
+pub use export_lock::{
+ export_lock_active, export_lock_begin, export_lock_end, with_export_lock_bypass,
+};
#[cfg(all(feature = "bridge", target_arch = "wasm32"))]
mod executor_wasm;