Skip to content

Commit

Permalink
add stdout feature for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Aug 19, 2024
1 parent 0d183be commit e6a59d7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"rust-analyzer.cargo.features": ["duckdb", "bigquery"]
"rust-analyzer.cargo.features": ["duckdb", "bigquery", "stdout"]
}
5 changes: 5 additions & 0 deletions pg_replicate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ required-features = ["bigquery"]
name = "duckdb"
required-features = ["duckdb"]

[[example]]
name = "stdout"
required-features = ["stdout"]

[dependencies]
async-trait = { workspace = true }
bytes = { workspace = true }
Expand Down Expand Up @@ -46,4 +50,5 @@ tracing-subscriber = { workspace = true, default-features = true, features = [
[features]
bigquery = ["dep:gcp-bigquery-client", "dep:prost"]
duckdb = ["dep:duckdb"]
stdout = []
default = []
1 change: 1 addition & 0 deletions pg_replicate/src/pipeline/sinks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ use self::duckdb::{DuckDbExecutorError, DuckDbRequest};
pub mod bigquery;
#[cfg(feature = "duckdb")]
pub mod duckdb;
#[cfg(feature = "stdout")]
pub mod stdout;

#[derive(Debug, Error)]
Expand Down

0 comments on commit e6a59d7

Please sign in to comment.