Skip to content

Commit 7be9ba8

Browse files
Update dependencies (#178)
* Bump clap from 4.5.37 to 4.5.38 Bumps [clap](https://github.com/clap-rs/clap) from 4.5.37 to 4.5.38. - [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.37...clap_complete-v4.5.38) --- updated-dependencies: - dependency-name: clap dependency-version: 4.5.38 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump tempfile from 3.19.1 to 3.20.0 Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.19.1 to 3.20.0. - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](Stebalien/tempfile@v3.19.1...v3.20.0) --- updated-dependencies: - dependency-name: tempfile dependency-version: 3.20.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Run cargo update * Address new clippy lints --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 4071eda commit 7be9ba8

File tree

4 files changed

+50
-35
lines changed

4 files changed

+50
-35
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ edition = "2021"
88
[dependencies]
99
allocative = "0.3.4"
1010
anyhow = "1.0.98"
11-
clap = { version = "4.5.37", features = ["derive"] }
11+
clap = { version = "4.5.38", features = ["derive"] }
1212
color-eyre = "0.6.4"
1313
decompress = { version = "0.6.0", default-features = false, features = ["targz", "zip", "gz", "tarxz"] }
1414
directories = "6.0.0"
1515
include_dir = "0.7.4"
1616
regex = "1.11.1"
1717
starlark = "0.13.0"
18-
tempfile = "3.19.1"
18+
tempfile = "3.20.0"
1919
thiserror = "2.0.12"
2020
ureq = "3.0.11"
2121
vsort = "0.2.0"

src/base.rs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#![allow(clippy::needless_lifetimes, clippy::unnecessary_wraps)] // starlark weirdness
1+
#![allow(
2+
clippy::needless_lifetimes,
3+
clippy::unnecessary_wraps,
4+
clippy::elidable_lifetime_names
5+
)] // starlark weirdness
26

37
use std::io::Read;
48

@@ -119,8 +123,9 @@ pub fn base(builder: &mut GlobalsBuilder) {
119123
.unwrap();
120124

121125
Ok(FileContents {
122-
contents: std::fs::read(&extracted_path)
123-
.with_context(|| format!("{extracted_path:?} not found in archive at {url}"))?,
126+
contents: std::fs::read(&extracted_path).with_context(|| {
127+
format!("{} not found in archive at {url}", extracted_path.display())
128+
})?,
124129
})
125130
}
126131

src/github.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#![allow(clippy::needless_lifetimes, clippy::unnecessary_wraps)] // starlark weirdness
1+
#![allow(
2+
clippy::needless_lifetimes,
3+
clippy::unnecessary_wraps,
4+
clippy::elidable_lifetime_names
5+
)] // starlark weirdness
26

37
use allocative::Allocative;
48
use starlark::environment::{GlobalsBuilder, Methods, MethodsBuilder, MethodsStatic};

0 commit comments

Comments
 (0)