Skip to content

Commit

Permalink
task: Return concrete type from s3::get_object() (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie authored Jun 20, 2024
1 parent 1e0b590 commit 40ad707
Show file tree
Hide file tree
Showing 5 changed files with 1,420 additions and 332 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 0.13.5

- Changed return type of `s3::get_object` to `Result<S3AsyncBufReader, SdkError<GetObjectError>>`, where `S3AsyncBufReader` implements `AsyncBufRead`.
Returning a concrete type here allows the returned value to be used in context where an existential type is not appropriate.

## 0.13.4

- Added feature flags `"s3", "sqs", "athena", "lambda"`. By default, all features are enabled, so no breaking change.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cobalt-aws"
version = "0.13.4"
version = "0.13.5"
authors = ["harrison.ai Data Engineering <[email protected]>"]
edition = "2021"
description = "This library provides a collection of wrappers around the aws-sdk-rust and lambda_runtime packages."
Expand Down
4 changes: 2 additions & 2 deletions about.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ workarounds = [
]

[ring]
accepted = ["MIT", "OpenSSL", "ISC"]
accepted = ["MIT", "OpenSSL", "ISC", "NOASSERTION"]

# This validated against webpki 0.22.0 however
# this version is not visible in https://github.com/briansmith/webpki.
Expand All @@ -20,7 +20,7 @@ accepted = ["MIT", "OpenSSL", "ISC"]
license = "ISC"

[[webpki.clarify.files]]
license = "ISC"
license = "ISC"
path = 'LICENSE'
checksum = "5b698ca13897be3afdb7174256fa1574f8c6892b8bea1a66dd6469d3fe27885a"

Loading

0 comments on commit 40ad707

Please sign in to comment.