Skip to content

chore(rust): update README#1756

Open
ajewellamz wants to merge 2 commits intomainfrom
ajewell/rust-typos
Open

chore(rust): update README#1756
ajewellamz wants to merge 2 commits intomainfrom
ajewell/rust-typos

Conversation

@ajewellamz
Copy link
Contributor

Issue #, if available:

Description of changes:

Squash/merge commit message, if applicable:

<type>(dafny/java/python/dotnet/go/rust): <description>

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ajewellamz ajewellamz requested a review from a team as a code owner January 5, 2026 21:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Rust MPL legacy crate docs/metadata to better reflect intended usage and align package information across the release and runtime copies.

Changes:

  • Simplified Rust README content and added security reporting guidance.
  • Updated Cargo.toml package metadata (keywords/description/documentation) for aws-mpl-legacy.
  • Switched the runtime crate from a local dafny_runtime path dependency to a crates.io dafny-runtime dependency.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
releases/rust/mpl/README.md Replaces badges/overview text with a short usage warning and security reporting section.
releases/rust/mpl/Cargo.toml Aligns crate metadata (keywords/description/docs URL) with aws-mpl-legacy.
AwsCryptographicMaterialProviders/runtimes/rust/README.md Mirrors the README simplification and security reporting section.
AwsCryptographicMaterialProviders/runtimes/rust/Cargo.toml Aligns crate metadata and replaces a local Dafny runtime path dependency with a crates.io dependency.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

also provides APIs to define and use wrapping keys from other key providers.

The AWS Cryptographic Material Providers Library provides methods for encrypting and decrypting cryptographic materials used in higher level client side encryption libraries.
[Security issue notifications](./CONTRIBUTING.md#security-issue-notifications)
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Security issue notifications](./CONTRIBUTING.md#security-issue-notifications) points to a CONTRIBUTING.md in this crate directory, but there is no CONTRIBUTING.md alongside this README. This link will be broken on crates.io; use an absolute GitHub URL (or include the file in the crate package) so the link resolves for consumers.

Suggested change
[Security issue notifications](./CONTRIBUTING.md#security-issue-notifications)
[Security issue notifications](https://github.com/aws/aws-encryption-sdk-rust/blob/main/CONTRIBUTING.md#security-issue-notifications)

Copilot uses AI. Check for mistakes.
This library is licensed under the Apache 2.0 License.
If you discover a potential security issue in this project
we ask that you notify AWS/Amazon Security via our
[vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/).
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The vulnerability reporting link uses plain HTTP. Please switch this to HTTPS to avoid downgrade/redirect issues and to keep the security guidance link consistent with secure defaults.

Suggested change
[vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/).
[vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting/).

Copilot uses AI. Check for mistakes.
also provides APIs to define and use wrapping keys from other key providers.

The AWS Cryptographic Material Providers Library provides methods for encrypting and decrypting cryptographic materials used in higher level client side encryption libraries.
[Security issue notifications](./CONTRIBUTING.md#security-issue-notifications)
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Security issue notifications](./CONTRIBUTING.md#security-issue-notifications) points to a CONTRIBUTING.md in this crate directory, but there is no CONTRIBUTING.md alongside this README. This link will be broken on crates.io; use an absolute GitHub URL (or include the file in the crate package) so the link resolves for consumers.

Suggested change
[Security issue notifications](./CONTRIBUTING.md#security-issue-notifications)
Security issue notifications

Copilot uses AI. Check for mistakes.
This library is licensed under the Apache 2.0 License.
If you discover a potential security issue in this project
we ask that you notify AWS/Amazon Security via our
[vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/).
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The vulnerability reporting link uses plain HTTP. Please switch this to HTTPS to avoid downgrade/redirect issues and to keep the security guidance link consistent with secure defaults.

Suggested change
[vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/).
[vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting/).

Copilot uses AI. Check for mistakes.
Comment on lines +6 to +10
keywords = ["crypto", "cryptography", "security", "encryption", "client-side"]
license = "ISC AND (Apache-2.0 OR ISC)"
description = "aws-mpl-rs is a low level library for implementing client side encryption."
description = "aws-mpl-legacy is a low level library for implementing client side encryption."
authors = ["AWS-CryptoTools"]
documentation = "https://docs.rs/crate/aws-mpl-rs"
documentation = "https://docs.rs/crate/aws-mpl-legacy"
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title indicates only a README update, but this change modifies Cargo package metadata (keywords/description/documentation). Please update the PR title/description to reflect that Cargo.toml metadata is also being changed so the intent is clear to reviewers and release tooling owners.

Copilot uses AI. Check for mistakes.
Comment on lines 23 to 34
aws-smithy-types = "1.3.5"
chrono = "0.4.42"
cpu-time = "1.0.0"
dafny_runtime = { path = "../../../smithy-dafny/TestModels/dafny-dependencies/dafny_runtime_rust", features = ["sync","small-int"]}
dashmap = "6.1.0"
pem = "3.0.6"
tokio = {version = "1.49.0", features = ["full"] }
uuid = { version = "1.19.0", features = ["v4"] }
timeout = "0.1.0"
rand = "0.9.2"
futures = "0.3"
dafny-runtime = { version = "0.3.1", features = ["sync", "small-int"] }

Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title indicates only a README update, but this change also updates dependencies (removing a path dependency and adding a crates.io dependency). Please update the PR title/description to reflect that this PR changes the Rust build/dependency graph, not just documentation.

Copilot uses AI. Check for mistakes.
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