2021-08-03 05:54:59 +08:00
|
|
|
[package]
|
2021-10-21 01:21:15 +08:00
|
|
|
name = "aws-smithy-async"
|
2021-10-13 05:42:36 +08:00
|
|
|
version = "0.0.0-smithy-rs-head"
|
2021-08-03 05:54:59 +08:00
|
|
|
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "John DiSanti <jdisanti@amazon.com>"]
|
2021-10-13 05:42:36 +08:00
|
|
|
description = "Async runtime agnostic abstractions for smithy-rs."
|
2022-03-23 05:29:04 +08:00
|
|
|
edition = "2021"
|
2021-10-13 05:42:36 +08:00
|
|
|
license = "Apache-2.0"
|
|
|
|
repository = "https://github.com/awslabs/smithy-rs"
|
2021-08-03 05:54:59 +08:00
|
|
|
|
|
|
|
[features]
|
2022-01-06 01:46:57 +08:00
|
|
|
rt-tokio = ["tokio/time"]
|
2023-10-07 01:32:35 +08:00
|
|
|
test-util = ["rt-tokio"]
|
2021-08-03 05:54:59 +08:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
pin-project-lite = "0.2"
|
2023-03-21 01:44:00 +08:00
|
|
|
tokio = { version = "1.23.1", features = ["sync"] }
|
2023-03-18 05:28:54 +08:00
|
|
|
futures-util = { version = "0.3.16", default-features = false }
|
2021-08-03 05:54:59 +08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
Remove `futures_core::stream::Stream` from `aws-smithy-async` (#2978)
## Motivation and Context
Removes `futures_core::stream::Stream` from the `aws-smithy-async`
crate.
## Description
This PR is part of our ongoing effort,
https://github.com/awslabs/smithy-rs/issues/2413. We remove the
`futures_core::stream::Stream` trait from the public API in the
`aws-smithy-async` crate. While doing so, we compensate
- `FnStream` by providing the explicit `.next` and `.collect` methods to
let the previously working code continue working.
- `TryFlatMap` by making it return a new-type wrapper `PaginationStream`
to hide `FnStream` from those who use paginators.
With this change, the latest canary no longer uses
`tokio_stream::StreamExt`, since the paginator does not work in terms of
the `Stream` trait. Furthermore, `aws-sdk-rust` has been more than [3
releases since
release-2023-01-26](https://github.com/awslabs/aws-sdk-rust/releases),
so the module `release-2023-01-26` has been removed from
`canary-lambda`.
## Testing
No new tests added, but made sure the existing tests keep working with
the change.
## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the
smithy-rs codegen or runtime crates
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the AWS
SDK, generated SDK code, or SDK runtime crates
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
2023-09-28 05:14:40 +08:00
|
|
|
pin-utils = "0.1"
|
2023-03-21 01:44:00 +08:00
|
|
|
tokio = { version = "1.23.1", features = ["rt", "macros", "test-util"] }
|
2022-10-27 23:09:18 +08:00
|
|
|
tokio-test = "0.4.2"
|
2021-12-01 19:26:47 +08:00
|
|
|
|
Remove `futures_core::stream::Stream` from `aws-smithy-async` (#2978)
## Motivation and Context
Removes `futures_core::stream::Stream` from the `aws-smithy-async`
crate.
## Description
This PR is part of our ongoing effort,
https://github.com/awslabs/smithy-rs/issues/2413. We remove the
`futures_core::stream::Stream` trait from the public API in the
`aws-smithy-async` crate. While doing so, we compensate
- `FnStream` by providing the explicit `.next` and `.collect` methods to
let the previously working code continue working.
- `TryFlatMap` by making it return a new-type wrapper `PaginationStream`
to hide `FnStream` from those who use paginators.
With this change, the latest canary no longer uses
`tokio_stream::StreamExt`, since the paginator does not work in terms of
the `Stream` trait. Furthermore, `aws-sdk-rust` has been more than [3
releases since
release-2023-01-26](https://github.com/awslabs/aws-sdk-rust/releases),
so the module `release-2023-01-26` has been removed from
`canary-lambda`.
## Testing
No new tests added, but made sure the existing tests keep working with
the change.
## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the
smithy-rs codegen or runtime crates
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the AWS
SDK, generated SDK code, or SDK runtime crates
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
2023-09-28 05:14:40 +08:00
|
|
|
# futures-util is used by `now_or_later`, for instance, but the tooling
|
|
|
|
# reports a false positive, saying it is unused.
|
|
|
|
[package.metadata.cargo-udeps.ignore]
|
|
|
|
normal = ["futures-util"]
|
|
|
|
|
2021-12-01 19:26:47 +08:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2021-12-02 02:01:53 +08:00
|
|
|
# End of docs.rs metadata
|