Unverified Commit cc82edf1 authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

docs.rs metadata & license linter & fixes (#904)

* Lint & fix docs.rs + LICENSEs

* Clippy fixups

* Update changelogs

* Fix reverse condition & make repo_root lazy_static

* Update copyright
parent ae4611cd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ vNext (Month Day, Year)
- Improve docs on `aws-smithy-client` (smithy-rs#855)
- Fix http-body dependency version (smithy-rs#883, aws-sdk-rust#305)
- `SdkError` now includes a variant `TimeoutError` for when a request times out (smithy-rs#885)
- Add docs.rs metadata section to all crates to document all features

**Breaking Changes**
- (aws-smithy-client): Extraneous `pub use SdkSuccess` removed from `aws_smithy_client::hyper_ext`. (smithy-rs#855)
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ vNext (Month Day, Year)
- Fix http-body dependency version (smithy-rs#883, aws-sdk-rust#305)
- [Added a new example showing how to set all currently supported timeouts](./sdk/examples/setting_timeouts/src/main.rs)
- Add a new check so that the SDK doesn't emit an irrelevant `$HOME` dir warning when running in a Lambda (aws-sdk-rust#307)
- Add docs.rs metadata section to all crates to document all features

**Breaking changes**

+6 −0
Original line number Diff line number Diff line
@@ -69,3 +69,9 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"

aws-smithy-client = { path = "../../sdk/build/aws-sdk/sdk/aws-smithy-client", features = ["test-util"] }

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--cfg", "docsrs"]
# End of doc.rs metadata
+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#![warn(missing_docs)]

//! `aws-config` provides implementations of region, credential resolution.
+6 −0
Original line number Diff line number Diff line
@@ -13,3 +13,9 @@ aws-types = { path = "../aws-types" }
http = "0.2.3"
regex = { version = "1", default-features = false, features = ["std"]}
tracing = "0.1"

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--cfg", "docsrs"]
# End of doc.rs metadata
Loading