Skip to content

Commit

Permalink
Remove mutate
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed May 9, 2022
1 parent 28a46ed commit fe7f0e5
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 21 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand All @@ -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"]
Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
1 change: 0 additions & 1 deletion src/mutate.rs

This file was deleted.

4 changes: 0 additions & 4 deletions src/mysql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
1 change: 0 additions & 1 deletion src/mysql/mutate.rs

This file was deleted.

4 changes: 0 additions & 4 deletions src/postgres/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
1 change: 0 additions & 1 deletion src/postgres/mutate.rs

This file was deleted.

4 changes: 0 additions & 4 deletions src/sqlite/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
1 change: 0 additions & 1 deletion src/sqlite/mutate.rs

This file was deleted.

0 comments on commit fe7f0e5

Please sign in to comment.