-
Notifications
You must be signed in to change notification settings - Fork 196
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
Upgrade to Rust 1.62.0 #1825
Merged
Merged
Upgrade to Rust 1.62.0 #1825
Changes from 48 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
6df5fbd
Run clippy --fix for Rust 1.62.0 and format the resulting code
LukeMathWalker 292fbec
Run clippy --fix on all targets
LukeMathWalker 0a2d01d
Run clippy --fix with all features enabled
LukeMathWalker 74fafd9
Avoid extra allocation
LukeMathWalker 3a99ce4
Use more idiomatic assert
LukeMathWalker 37a51e3
Ignore noisy lint
LukeMathWalker 1f85655
Update pyo3 and pyo3-asyncio to 0.17.0
jjant 5da1704
Implement Eq on aws-smithy-checksums::Error
jjant 5faf18d
Implement Eq on Protocol
jjant aaf14f3
Replace conditionals with range-containment
jjant c45a6b5
Implement Eq on types in aws-smithy-types
jjant f2cd901
Implement Eq on types in aws-smithy-http-server-python
jjant 78f4b07
Implement Eq on types in aws-smithy-eventstream
jjant 590f01a
Implement Eq on types in aws-smithy-xml
jjant d78bb62
Implement Eq on aws-sigv4
jjant 3da634a
Update CI to use Rust 1.62.0
jjant 5169bd9
Add Eq for generated types that implement PartialEq
jjant 1d27e8f
Allow clippy::needless_return in generated code
jjant fc69639
Remove unnecessary reborrow in http_serde
jjant 90be70c
Remove unnecessary borrow in operation_deser
jjant dbd6bc6
Add CHANGELOG entries
jjant afe4afb
Revert "Add Eq for generated types that implement PartialEq"
jjant 625c6d4
Update pyo3 and pyo3-asyncio in generated code for python server
jjant 068c63c
Allow clippy::derive_partial_eq_without_eq on structs and builders
jjant 316b031
Run clippy on tools
jjant 34ef535
Fix accidental move in generated code
jjant 669e8ea
Revert "Allow clippy::derive_partial_eq_without_eq on structs and bui…
jjant 38cfa85
Fix another accidental move in generated code
jjant ae35de2
Undo unwanted change to model
jjant bed03b5
Re-add reborrow in HttpBindingGenerator
jjant 7b424ad
Fix clippy::format-push-string in changelogger
jjant 60d27d1
Fix more uses of str.push_str(&format!(...))
jjant 77f0b32
Remove unnecessary parenthesis
jjant ba28132
Run ktlint
jjant 70785a1
Update aws/rust-runtime/aws-http/src/content_encoding.rs
jjant 2cf21d1
Update aws/rust-runtime/aws-http/src/content_encoding.rs
jjant e68dfb7
Ignore doctest for non-exported macro
jjant 96b54fa
Merge branch 'main' into upgrade-rust-1-62
jjant f1c8beb
Run cargo fmt
jjant a63c7b8
Use $crate instead of crate in macro
jjant a74aac2
Merge branch 'main' into upgrade-rust-1-62
jjant 405f747
Revert "Implement Eq on types in aws-smithy-types"
jjant 93ae155
Merge branch 'upgrade-rust-1-62' of github.com:awslabs/smithy-rs into…
jjant 9c47ac8
Revert "Implement Eq on types in aws-smithy-eventstream"
jjant 47fa662
Revert "Implement Eq on types in aws-smithy-xml"
jjant 90f5429
Revert "Implement Eq on aws-sigv4"
jjant a133343
Revert "Implement Eq on types in aws-smithy-http-server-python"
jjant 7b5b6a9
Revert "Implement Eq on aws-smithy-checksums::Error"
jjant 1df977e
Merge branch 'main' into upgrade-rust-1-62
jjant 64d2ea7
Merge branch 'main' into upgrade-rust-1-62
jjant File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,8 @@ lambda_http = "0.6.0" | |
num_cpus = "1.13.1" | ||
parking_lot = "0.12.1" | ||
pin-project-lite = "0.2" | ||
pyo3 = "0.16.5" | ||
pyo3-asyncio = { version = "0.16.0", features = ["tokio-runtime"] } | ||
pyo3 = "0.17.0" | ||
pyo3-asyncio = { version = "0.17.0", features = ["tokio-runtime"] } | ||
Comment on lines
-29
to
+30
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was necessary to fix a bunch of noisy reborrow lints - is upgrading an issue? Everything compiles and all tests are passing. |
||
signal-hook = { version = "0.3.14", features = ["extended-siginfo"] } | ||
socket2 = { version = "0.4.4", features = ["all"] } | ||
thiserror = "1.0.32" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See e68dfb7 for the reason on the
ignore
here.rust
is redundant and can be removed.