mirror of https://github.com/smithy-lang/smithy-rs
740edcc6f6
## Motivation and Context Upgrades MSRV to 1.78.0 since the [latest Rust](https://www.rust-lang.org/) at the time of writing is 1.80.1 (we try keeping [two releases behind](https://github.com/awslabs/aws-sdk-rust?tab=readme-ov-file#supported-rust-versions-msrv)). ## Description In Rust 1.78.0, `clippy` enforces stricter checks in two areas: - `dead_code` It seems to be able to uncover more unused code patterns, especially when different combinations of cargo features are enabled - `empty_docs` Prior to 1.78.0, the codegen used to render the following empty docs `///`, regardless whether the codegen is for the server or for the client. This is now flagged as `empty_docs` by `clippy`: ``` /// pub(crate) mod XXX { ... } ``` Other than bumping MSRV to 1.78.0, the remaining code changes address issues related to the fixes mentioned above. **EDIT:** `cargo-semver-checks` required an upgrade due to incompatibility issues following the MSRV upgrade ([example error](https://github.com/smithy-lang/smithy-rs/actions/runs/10534205294/job/29261105195#step:4:2068)). Specifically, after updating the MSRV to 1.78.0, the rustdoc version was upgraded to v28. However, the version of `cargo-semver-checks` we were using (0.24.1) only supported rustdoc [up to v27]( |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
additional-ci | ||
rustfmt.toml |
README.md
aws-smithy-http-server
Server libraries for smithy-rs generated servers.
This crate is part of the AWS SDK for Rust and the smithy-rs code generator. In most cases, it should not be used directly.