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

improve ByteStream docs & add pub use #443

Merged
merged 4 commits into from
Jun 1, 2021
Merged

improve ByteStream docs & add pub use #443

merged 4 commits into from
Jun 1, 2021

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Jun 1, 2021

Description of changes:

This commit attempts to improve the discoverability and useability of ByteStream:

  1. Adds pub use for bytestream. This is currently added to all crates. At some point in the future, we may wish to prune this to crates that actually use it, but as it doesn't actually add an additional dependency, there isn't currently any harm.
    SdkBody is explicitly not pub use'd. Generally, people shouldn't need to use SdkBody directly.

  2. Clarifies, adds examples, and generally increases the scope of the ByteStream documentation.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This commit attempts to improve the discoverability and useability of `ByteStream`:
1. Adds pub use for bytestream. This is currently added to all crates. At some point in the future, we may wish to prune this
to crates that actually use it, but as it doesn't actually add an additional dependency, there isn't currently any harm.
SdkBody is explicitly _not_ pub use'd. Generally, people shouldn't need to use `SdkBody` directly.

2. Clarifies, adds examples, and generally increases the scope of the `ByteStream` documentation.
@rcoh rcoh requested a review from jdisanti June 1, 2021 16:50
rust-runtime/smithy-http/src/byte_stream.rs Outdated Show resolved Hide resolved
@rcoh rcoh enabled auto-merge (squash) June 1, 2021 17:02
@rcoh rcoh merged commit e6ef4fe into main Jun 1, 2021
@rcoh rcoh deleted the bytestream-docs branch June 1, 2021 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants