Skip to content

Commit

Permalink
build(deps): bump the rust group with 7 updates (#610)
Browse files Browse the repository at this point in the history
* build(deps): bump the rust group with 7 updates

Bumps the rust group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [aws-sdk-cloudformation](https://github.com/awslabs/aws-sdk-rust) | `1.62.0` | `1.63.0` |
| [aws-sdk-kms](https://github.com/awslabs/aws-sdk-rust) | `1.57.0` | `1.58.0` |
| [aws-sdk-s3](https://github.com/awslabs/aws-sdk-rust) | `1.71.0` | `1.72.0` |
| [aws-sdk-sts](https://github.com/awslabs/aws-sdk-rust) | `1.57.0` | `1.58.0` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.5.43` | `4.5.44` |
| [rand](https://github.com/rust-random/rand) | `0.8.5` | `0.9.0` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.137` | `1.0.138` |


Updates `aws-sdk-cloudformation` from 1.62.0 to 1.63.0
- [Release notes](https://github.com/awslabs/aws-sdk-rust/releases)
- [Commits](https://github.com/awslabs/aws-sdk-rust/commits)

Updates `aws-sdk-kms` from 1.57.0 to 1.58.0
- [Release notes](https://github.com/awslabs/aws-sdk-rust/releases)
- [Commits](https://github.com/awslabs/aws-sdk-rust/commits)

Updates `aws-sdk-s3` from 1.71.0 to 1.72.0
- [Release notes](https://github.com/awslabs/aws-sdk-rust/releases)
- [Commits](https://github.com/awslabs/aws-sdk-rust/commits)

Updates `aws-sdk-sts` from 1.57.0 to 1.58.0
- [Release notes](https://github.com/awslabs/aws-sdk-rust/releases)
- [Commits](https://github.com/awslabs/aws-sdk-rust/commits)

Updates `clap_complete` from 4.5.43 to 4.5.44
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.5.43...clap_complete-v4.5.44)

Updates `rand` from 0.8.5 to 0.9.0
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.5...0.9.0)

Updates `serde_json` from 1.0.137 to 1.0.138
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.137...v1.0.138)

---
updated-dependencies:
- dependency-name: aws-sdk-cloudformation
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
- dependency-name: aws-sdk-kms
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
- dependency-name: aws-sdk-s3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
- dependency-name: aws-sdk-sts
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: rand
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <[email protected]>

* update deprecated rand code

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akseli Lukkarila <[email protected]>
  • Loading branch information
dependabot[bot] and Esgrove authored Feb 5, 2025
1 parent e4c4d0f commit 9a52c35
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 42 deletions.
128 changes: 94 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ authors = [
aes-gcm = "0.10.3"
anyhow = "1.0.95"
aws-config = { version = "1.5.15", features = ["behavior-version-latest", "rustls"] }
aws-sdk-cloudformation = { version = "1.62.0", features = ["rustls"] }
aws-sdk-kms = { version = "1.57.0", features = ["rustls"] }
aws-sdk-s3 = { version = "1.71.0", features = ["rustls"] }
aws-sdk-sts = { version = "1.51.0", features = ["behavior-version-latest", "rustls"] }
aws-sdk-cloudformation = { version = "1.63.0", features = ["rustls"] }
aws-sdk-kms = { version = "1.58.0", features = ["rustls"] }
aws-sdk-s3 = { version = "1.72.0", features = ["rustls"] }
aws-sdk-sts = { version = "1.58.0", features = ["behavior-version-latest", "rustls"] }
base64 = "0.22.1"
clap = { version = "4.5.27", features = ["derive", "env"] }
clap_complete = "4.5.42"
clap_complete = "4.5.44"
colored = "3.0.0"
dirs = "6.0.0"
rand = "0.8.5"
rand = "0.9.0"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.137"
serde_json = "1.0.138"
thiserror = "2.0.11"
tokio = { version = "1.43.0", features = ["full"] }

Expand Down
2 changes: 1 addition & 1 deletion rust/src/vault.rs
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ impl Vault {
#[inline]
fn create_random_nonce() -> Nonce<U12> {
let mut nonce: [u8; 12] = [0; 12];
let mut rng = rand::thread_rng();
let mut rng = rand::rng();
rng.fill(&mut nonce);
Nonce::from(nonce)
}
Expand Down

0 comments on commit 9a52c35

Please sign in to comment.