Skip to content

Commit

Permalink
Merge pull request #45 from chaindexing/only-include-postgres-repo-bi…
Browse files Browse the repository at this point in the history
…nary-for-its-feature

Only include PostgresRepo binary for its feature
  • Loading branch information
Jurshsmith authored Nov 26, 2023
2 parents 5ceb97d + 4e2e125 commit fd205bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chaindexing/src/repos.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
#[cfg(feature = "postgres")]
mod postgres_repo;
mod repo;

#[cfg(feature = "postgres")]
pub use postgres_repo::{
Conn as PostgresRepoConn, Pool as PostgresRepoPool, PostgresRepo, PostgresRepoAsyncConnection,
PostgresRepoRawQueryClient, PostgresRepoRawQueryTxnClient,
};

mod repo;

pub use repo::{
ExecutesWithRawQuery, HasRawQueryClient, LoadsDataWithRawQuery, Migratable, Repo, RepoError,
RepoMigrations, SQLikeMigrations, Streamable,
Expand Down

0 comments on commit fd205bf

Please sign in to comment.