Skip to content

Commit

Permalink
build: fallible-iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and aljazerzen committed Mar 26, 2024
1 parent 74fdea8 commit cfd908e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions connector_arrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ arrow = { version = "49", default-features = false }
# common optional
hex = { version = "0.4", optional = true }
fallible-streaming-iterator = { version = "0.1", optional = true }
fallible-iterator = { version = "0.2", optional = true }
csv = { version = "1", optional = true }
bytes = { version = "1", optional = true }
byteorder = { version = "1", optional = true }
Expand All @@ -48,6 +47,11 @@ version = "0.6.6"
default-features = false
optional = true

[dependencies.postgres-fallible-iterator]
package = "fallible-iterator"
version = "0.2" # this dep is bound to potgres's transitive dep
optional = true

[dependencies.rusqlite]
version = "0.31.0"
default-features = false
Expand Down Expand Up @@ -85,11 +89,11 @@ all = ["src_sqlite", "src_duckdb", "src_postgres", "src_mysql", "src_tiberius"]
src_postgres = [
"postgres",
"postgres-protocol",
"postgres-fallible-iterator",
"csv",
"hex",
"bytes",
"byteorder",
"fallible-iterator",
]
src_sqlite = ["rusqlite"]
src_duckdb = ["duckdb", "fallible-streaming-iterator"]
Expand Down
2 changes: 1 addition & 1 deletion connector_arrow/src/postgres/protocol_extended.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl<'a> Iterator for PostgresBatchStream<'a> {
}

struct PostgresRowStream<'a> {
iter: fallible_iterator::Fuse<postgres::RowIter<'a>>,
iter: postgres_fallible_iterator::Fuse<postgres::RowIter<'a>>,
}

impl<'a> PostgresRowStream<'a> {
Expand Down

0 comments on commit cfd908e

Please sign in to comment.