github near/near-lake-framework-rs v0.4.0

latest releases: v0.7.3, 0.7.3, near-lake-parent-transaction-cache-v0.8.0-beta.2...
3 years ago

What's changed?

  • Remove calls to .unwrap() and .expect() within the stream sender that
    could panic. Instead, a Result is returned from the sender task. (@joel-u410)
  • Remove calls to .unwrap() and .expect() within s3_fetchers module

Breaking change

  • The streamer() function now returns a tuple, with the first element being a
    JoinHandle<Result<(), Error>> that you can use to gracefully capture any
    errors that occurred within the sender task. If you don't care about errors,
    you can easily adapt to this change by changing:
    let receiver = near_lake_framework::streamer(settings);
    to this instead:
    let (_, receiver) = near_lake_framework::streamer(settings);

Crate Link: https://crates.io/crates/near-lake-framework/0.4.0
Full Changelog: v0.3.0...v0.4.0

Don't miss a new near-lake-framework-rs release

NewReleases is sending notifications on new releases.