Closed
Description
This is to use LazyRows as explained here.
extern crate fallible_iterator;
use fallible_iterator::FallibleIterator;
/// Code involving LazyRow
To use the FallibleIterator
, the user needs to add fallible-iterator to their Cargo.toml which can lead to version mismatch. For example, the current latest version for the fallible-iterator crate is 0.2.0
on crates.io but rust-postgres uses 0.1.6
for the same crate.
Keeping the fallible-iterator crate version in local Cargo.toml synchronized with the one used by the postgres crate can be a source of human error leading to subtle bugs.
One option could be to expose the FallibleIterator
from postgres crate itself.
Metadata
Metadata
Assignees
Labels
No labels