From fe7f0e5c25f86a3263f33bf9c2ad9762f685276e Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Mon, 9 May 2022 18:27:08 +0800 Subject: [PATCH] Remove mutate --- Cargo.toml | 3 +-- src/lib.rs | 3 --- src/mutate.rs | 1 - src/mysql/mod.rs | 4 ---- src/mysql/mutate.rs | 1 - src/postgres/mod.rs | 4 ---- src/postgres/mutate.rs | 1 - src/sqlite/mod.rs | 4 ---- src/sqlite/mutate.rs | 1 - 9 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 src/mutate.rs delete mode 100644 src/mysql/mutate.rs delete mode 100644 src/postgres/mutate.rs delete mode 100644 src/sqlite/mutate.rs diff --git a/Cargo.toml b/Cargo.toml index 21a24d25..c0c80e43 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ sqlx = { version = "^0", optional = true } log = { version = "^0.4", optional = true } [features] -default = ["mysql", "postgres", "sqlite", "discovery", "writer", "mutate", "probe"] +default = ["mysql", "postgres", "sqlite", "discovery", "writer", "probe"] debug-print = ["log"] mysql = [] postgres = [] @@ -51,7 +51,6 @@ discovery = ["futures", "parser"] parser = ["query"] query = ["def"] writer = ["def"] -mutate = [] probe = [] sqlx-dep = ["sqlx"] sqlx-all = ["sqlx-mysql", "sqlx-postgres", "sqlx-sqlite"] diff --git a/src/lib.rs b/src/lib.rs index 5af7c052..75ba861d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -21,8 +21,5 @@ pub(crate) mod util; pub mod name; pub use name::*; -#[cfg(feature = "mutate")] -pub mod mutate; - #[cfg(feature = "probe")] pub mod probe; diff --git a/src/mutate.rs b/src/mutate.rs deleted file mode 100644 index 8b137891..00000000 --- a/src/mutate.rs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/mysql/mod.rs b/src/mysql/mod.rs index 25197bfb..0966d884 100644 --- a/src/mysql/mod.rs +++ b/src/mysql/mod.rs @@ -20,10 +20,6 @@ pub mod query; #[cfg_attr(docsrs, doc(cfg(feature = "writer")))] pub mod writer; -#[cfg(feature = "mutate")] -#[cfg_attr(docsrs, doc(cfg(feature = "mutate")))] -pub mod mutate; - #[cfg(feature = "probe")] #[cfg_attr(docsrs, doc(cfg(feature = "probe")))] pub mod probe; diff --git a/src/mysql/mutate.rs b/src/mysql/mutate.rs deleted file mode 100644 index 8b137891..00000000 --- a/src/mysql/mutate.rs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/postgres/mod.rs b/src/postgres/mod.rs index c40a3348..8fc40bea 100644 --- a/src/postgres/mod.rs +++ b/src/postgres/mod.rs @@ -20,10 +20,6 @@ pub mod query; #[cfg_attr(docsrs, doc(cfg(feature = "writer")))] pub mod writer; -#[cfg(feature = "mutate")] -#[cfg_attr(docsrs, doc(cfg(feature = "mutate")))] -pub mod mutate; - #[cfg(feature = "probe")] #[cfg_attr(docsrs, doc(cfg(feature = "probe")))] pub mod probe; diff --git a/src/postgres/mutate.rs b/src/postgres/mutate.rs deleted file mode 100644 index 8b137891..00000000 --- a/src/postgres/mutate.rs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/sqlite/mod.rs b/src/sqlite/mod.rs index 72c9d6f7..e6993eff 100644 --- a/src/sqlite/mod.rs +++ b/src/sqlite/mod.rs @@ -15,10 +15,6 @@ pub mod discovery; mod error; mod executor; -#[cfg(feature = "mutate")] -#[cfg_attr(docsrs, doc(cfg(feature = "mutate")))] -pub mod mutate; - #[cfg(feature = "probe")] #[cfg_attr(docsrs, doc(cfg(feature = "probe")))] pub mod probe; diff --git a/src/sqlite/mutate.rs b/src/sqlite/mutate.rs deleted file mode 100644 index 8b137891..00000000 --- a/src/sqlite/mutate.rs +++ /dev/null @@ -1 +0,0 @@ -