Skip to content

Commit

Permalink
refactor: reexport some common struct and trait
Browse files Browse the repository at this point in the history
Signed-off-by: Saurav Sharma <[email protected]>
  • Loading branch information
iamsauravsharma committed Oct 12, 2024
1 parent a56e3a4 commit 8ed53c2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@

//! Library to create sqlx migration using rust code instead of sql.
//!
//! Visit examples directory and readme file to learn of how to use sqlx
//! migrator on sqlx project
//! Check `README.MD` for more detailed information of how to use a crate
//! and visit [`Operation`], [`Migration`] and [`Migrator`]
#[cfg(feature = "cli")]
pub use crate::cli::MigrationCommand;
pub use crate::error::Error;
pub use crate::migration::Migration;
pub use crate::migrator::{Info, Migrate, Migrator, Plan};
pub use crate::operation::Operation;

#[cfg(feature = "cli")]
pub mod cli;
Expand Down

0 comments on commit 8ed53c2

Please sign in to comment.