Skip to content

Commit 2cadcd3

Browse files
build(deps): bump the cargo group with 6 updates (#144)
* build(deps): bump the cargo group with 6 updates Bumps the cargo group with 6 updates: | Package | From | To | | --- | --- | --- | | [brioche-pack](https://github.com/brioche-dev/brioche) | ``ef3e1af`` | ``c4ade73`` | | [ulid](https://github.com/dylanhart/ulid-rs) | `1.2.1` | `2.0.1` | | [getrandom](https://github.com/rust-random/getrandom) | `0.3.4` | `0.4.3` | | [r-efi](https://github.com/r-efi/r-efi) | `5.3.0` | `6.0.0` | | [rand](https://github.com/rust-random/rand) | `0.9.5` | `0.10.2` | | [rand_core](https://github.com/rust-random/rand_core) | `0.9.5` | `0.10.1` | Updates `brioche-pack` from `ef3e1af` to `c4ade73` - [Release notes](https://github.com/brioche-dev/brioche/releases) - [Commits](brioche-dev/brioche@ef3e1af...c4ade73) Updates `ulid` from 1.2.1 to 2.0.1 - [Commits](dylanhart/ulid-rs@v1.2.1...v2.0.1) Updates `getrandom` from 0.3.4 to 0.4.3 - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](rust-random/getrandom@v0.3.4...v0.4.3) Updates `r-efi` from 5.3.0 to 6.0.0 - [Release notes](https://github.com/r-efi/r-efi/releases) - [Changelog](https://github.com/r-efi/r-efi/blob/main/NEWS.md) - [Commits](r-efi/r-efi@v5.3.0...v6.0.0) Updates `rand` from 0.9.5 to 0.10.2 - [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.9.5...0.10.2) Updates `rand_core` from 0.9.5 to 0.10.1 - [Release notes](https://github.com/rust-random/rand_core/releases) - [Changelog](https://github.com/rust-random/rand_core/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand_core/commits/v0.10.1) --- updated-dependencies: - dependency-name: brioche-pack dependency-version: c4ade7340cfabc9cae471c191bb9ef6ebdfe115d dependency-type: direct:production dependency-group: cargo - dependency-name: ulid dependency-version: 2.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: cargo - dependency-name: getrandom dependency-version: 0.4.3 dependency-type: indirect update-type: version-update:semver-minor dependency-group: cargo - dependency-name: r-efi dependency-version: 6.0.0 dependency-type: indirect update-type: version-update:semver-major dependency-group: cargo - dependency-name: rand dependency-version: 0.10.2 dependency-type: indirect update-type: version-update:semver-minor dependency-group: cargo - dependency-name: rand_core dependency-version: 0.10.1 dependency-type: indirect update-type: version-update:semver-minor dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com> * fix(deps): update ulid to 2.0.1 and use new API Signed-off-by: Jérémy Audiger <jeremy.audiger@icloud.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jérémy Audiger <jeremy.audiger@icloud.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jérémy Audiger <jeremy.audiger@icloud.com>
1 parent af29cb7 commit 2cadcd3

4 files changed

Lines changed: 27 additions & 89 deletions

File tree

Cargo.lock

Lines changed: 23 additions & 85 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/brioche-resources/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ copy_dir = "0.1.3"
1010
pathdiff = "0.2.3"
1111
thiserror = "2.0.18"
1212
tick-encoding = "0.1.4"
13-
ulid = "1.2.1"
13+
ulid = "2.0.1"
1414
walkdir = "2.5.0"
1515

1616
[lints]

crates/brioche-resources/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pub fn add_named_blob(
103103
std::fs::create_dir_all(&blob_dir)?;
104104

105105
// Open a temporary file to copy the contents to
106-
let blob_temp_id = ulid::Ulid::new();
106+
let blob_temp_id = ulid::Ulid::r#gen();
107107
let blob_temp_path = blob_dir.join(blob_temp_id.to_string());
108108
let mut blob_file_options = std::fs::OpenOptions::new();
109109
blob_file_options.create_new(true).write(true);
@@ -211,7 +211,7 @@ pub fn add_named_resource_directory(
211211
let resources_directories_dir = resource_dir.join("directories");
212212
std::fs::create_dir_all(&resources_directories_dir)?;
213213

214-
let temp_name = ulid::Ulid::new().to_string();
214+
let temp_name = ulid::Ulid::r#gen().to_string();
215215
let temp_path = resources_directories_dir.join(temp_name);
216216
copy_dir::copy_dir(source, &temp_path)?;
217217

crates/brioche-strip/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ brioche-resources = { path = "../brioche-resources" }
1111
eyre = "0.6.12"
1212
tempfile = "3.27.0"
1313
thiserror = "2.0.18"
14-
ulid = "1.2.1"
14+
ulid = "2.0.1"
1515

1616
[lints]
1717
workspace = true

0 commit comments

Comments
 (0)