Skip to content
  • Luca Palmieri's avatar
    18d969e1
    Upgrade to Rust 1.62.0 (#1825) · 18d969e1
    Luca Palmieri authored
    
    
    * Run clippy --fix for Rust 1.62.0 and format the resulting code
    
    * Run clippy --fix on all targets
    
    * Run clippy --fix with all features enabled
    
    * Avoid extra allocation
    
    * Use more idiomatic assert
    
    * Ignore noisy lint
    
    * Update pyo3 and pyo3-asyncio to 0.17.0
    
    * Implement Eq on aws-smithy-checksums::Error
    
    * Implement Eq on Protocol
    
    * Replace conditionals with range-containment
    
    * Implement Eq on types in aws-smithy-types
    
    * Implement Eq on types in aws-smithy-http-server-python
    
    * Implement Eq on types in aws-smithy-eventstream
    
    * Implement Eq on types in aws-smithy-xml
    
    * Implement Eq on aws-sigv4
    
    * Update CI to use Rust 1.62.0
    
    * Add Eq for generated types that implement PartialEq
    
    * Allow clippy::needless_return in generated code
    
    * Remove unnecessary reborrow in http_serde
    
    * Remove unnecessary borrow in operation_deser
    
    * Add CHANGELOG entries
    
    * Revert "Add Eq for generated types that implement PartialEq"
    
    This reverts commit 5169bd95aa4dbbfc77c23bf7415e98ebc6361733.
    
    * Update pyo3 and pyo3-asyncio in generated code for python server
    
    * Allow clippy::derive_partial_eq_without_eq on structs and builders
    
    * Run clippy on tools
    
    * Fix accidental move in generated code
    
    * Revert "Allow clippy::derive_partial_eq_without_eq on structs and builders"
    
    This reverts commit 068c63ca2030879584e7b602bd0648abab19cabe.
    
    * Fix another accidental move in generated code
    
    * Undo unwanted change to model
    
    * Re-add reborrow in HttpBindingGenerator
    
    * Fix clippy::format-push-string in changelogger
    
    * Fix more uses of str.push_str(&format!(...))
    
    * Remove unnecessary parenthesis
    
    * Run ktlint
    
    * Update aws/rust-runtime/aws-http/src/content_encoding.rs
    
    Co-authored-by: default avatarJohn DiSanti <jdisanti@amazon.com>
    
    * Update aws/rust-runtime/aws-http/src/content_encoding.rs
    
    Co-authored-by: default avatarJohn DiSanti <jdisanti@amazon.com>
    
    * Ignore doctest for non-exported macro
    
    Rust 1.62 introduced a breaking change where doctests for non-exported
    macros are now run by default. These don't compile because the macro
    can't be imported in it.
    See https://github.com/rust-lang/rust/issues/97030
    
     for more info.
    
    * Run cargo fmt
    
    * Use $crate instead of crate in macro
    
    * Revert "Implement Eq on types in aws-smithy-types"
    
    This reverts commit c45a6b5a56d391923efce3c884291c330218982d.
    
    * Revert "Implement Eq on types in aws-smithy-eventstream"
    
    This reverts commit 78f4b07344d2cbb9d06b30ffd9bad16031fdd83b.
    
    * Revert "Implement Eq on types in aws-smithy-xml"
    
    This reverts commit 590f01af7326bde7de97cae97feeedf593b9239b.
    
    * Revert "Implement Eq on aws-sigv4"
    
    This reverts commit d78bb62124c4b3a24a35bdd655995de11252d17f.
    
    * Revert "Implement Eq on types in aws-smithy-http-server-python"
    
    This reverts commit f2cd9018844130d441820742dc1cf1c7abeaa38b.
    
    * Revert "Implement Eq on aws-smithy-checksums::Error"
    
    This reverts commit 5da170405e12d5077f67b8f8e41c2319138244d4.
    
    Co-authored-by: default avatarJulian Antonielli <julianantonielli@gmail.com>
    Co-authored-by: default avatarJohn DiSanti <jdisanti@amazon.com>
    18d969e1
    Upgrade to Rust 1.62.0 (#1825)
    Luca Palmieri authored
    
    
    * Run clippy --fix for Rust 1.62.0 and format the resulting code
    
    * Run clippy --fix on all targets
    
    * Run clippy --fix with all features enabled
    
    * Avoid extra allocation
    
    * Use more idiomatic assert
    
    * Ignore noisy lint
    
    * Update pyo3 and pyo3-asyncio to 0.17.0
    
    * Implement Eq on aws-smithy-checksums::Error
    
    * Implement Eq on Protocol
    
    * Replace conditionals with range-containment
    
    * Implement Eq on types in aws-smithy-types
    
    * Implement Eq on types in aws-smithy-http-server-python
    
    * Implement Eq on types in aws-smithy-eventstream
    
    * Implement Eq on types in aws-smithy-xml
    
    * Implement Eq on aws-sigv4
    
    * Update CI to use Rust 1.62.0
    
    * Add Eq for generated types that implement PartialEq
    
    * Allow clippy::needless_return in generated code
    
    * Remove unnecessary reborrow in http_serde
    
    * Remove unnecessary borrow in operation_deser
    
    * Add CHANGELOG entries
    
    * Revert "Add Eq for generated types that implement PartialEq"
    
    This reverts commit 5169bd95aa4dbbfc77c23bf7415e98ebc6361733.
    
    * Update pyo3 and pyo3-asyncio in generated code for python server
    
    * Allow clippy::derive_partial_eq_without_eq on structs and builders
    
    * Run clippy on tools
    
    * Fix accidental move in generated code
    
    * Revert "Allow clippy::derive_partial_eq_without_eq on structs and builders"
    
    This reverts commit 068c63ca2030879584e7b602bd0648abab19cabe.
    
    * Fix another accidental move in generated code
    
    * Undo unwanted change to model
    
    * Re-add reborrow in HttpBindingGenerator
    
    * Fix clippy::format-push-string in changelogger
    
    * Fix more uses of str.push_str(&format!(...))
    
    * Remove unnecessary parenthesis
    
    * Run ktlint
    
    * Update aws/rust-runtime/aws-http/src/content_encoding.rs
    
    Co-authored-by: default avatarJohn DiSanti <jdisanti@amazon.com>
    
    * Update aws/rust-runtime/aws-http/src/content_encoding.rs
    
    Co-authored-by: default avatarJohn DiSanti <jdisanti@amazon.com>
    
    * Ignore doctest for non-exported macro
    
    Rust 1.62 introduced a breaking change where doctests for non-exported
    macros are now run by default. These don't compile because the macro
    can't be imported in it.
    See https://github.com/rust-lang/rust/issues/97030
    
     for more info.
    
    * Run cargo fmt
    
    * Use $crate instead of crate in macro
    
    * Revert "Implement Eq on types in aws-smithy-types"
    
    This reverts commit c45a6b5a56d391923efce3c884291c330218982d.
    
    * Revert "Implement Eq on types in aws-smithy-eventstream"
    
    This reverts commit 78f4b07344d2cbb9d06b30ffd9bad16031fdd83b.
    
    * Revert "Implement Eq on types in aws-smithy-xml"
    
    This reverts commit 590f01af7326bde7de97cae97feeedf593b9239b.
    
    * Revert "Implement Eq on aws-sigv4"
    
    This reverts commit d78bb62124c4b3a24a35bdd655995de11252d17f.
    
    * Revert "Implement Eq on types in aws-smithy-http-server-python"
    
    This reverts commit f2cd9018844130d441820742dc1cf1c7abeaa38b.
    
    * Revert "Implement Eq on aws-smithy-checksums::Error"
    
    This reverts commit 5da170405e12d5077f67b8f8e41c2319138244d4.
    
    Co-authored-by: default avatarJulian Antonielli <julianantonielli@gmail.com>
    Co-authored-by: default avatarJohn DiSanti <jdisanti@amazon.com>
Loading