Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move SdkBody and bytestream into aws-smithy-types #3026

Merged
merged 18 commits into from
Oct 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make a dependency on hyper optional
This commit addresses #3026 (comment)
ysaito1001 committed Oct 10, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit aae39be79cde51c4473096d98d9e879bac9c0a9b
9 changes: 6 additions & 3 deletions rust-runtime/aws-smithy-http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -11,8 +11,9 @@ license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"

[features]
hyper014 = ["dep:hyper"]
event-stream = ["aws-smithy-eventstream", 'hyper014']
rt-tokio = ["aws-smithy-types/rt-tokio"]
event-stream = ["aws-smithy-eventstream"]

[dependencies]
aws-smithy-eventstream = { path = "../aws-smithy-eventstream", optional = true }
@@ -27,9 +28,11 @@ pin-project-lite = "0.2.9"
pin-utils = "0.1.0"
tracing = "0.1"

# For our event stream implementation
# For an adapter to enable the `Stream` trait for `aws_smithy_types::byte_stream::ByteStream`
futures-core = "0.3.14"
hyper = "0.14.26"

# For our event stream implementation
hyper = { version = "0.14.26", optional = true }

[dev-dependencies]
async-stream = "0.3"