Skip to content

Commit 3e14026

Browse files
committed
fix dependabot updates
1 parent cf595c1 commit 3e14026

File tree

5 files changed

+52
-24
lines changed

5 files changed

+52
-24
lines changed

Cargo.lock

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

crates/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ console = { version = "0.16", default-features = false, features = [
2121
] }
2222

2323
[target.'cfg(not(target_os = "macos"))'.dependencies]
24-
rusqlite = { version = "0.33.0", features = ["bundled"] }
24+
rusqlite = { version = "0.37.0", features = ["bundled"] }
2525
native-tls = { version = "0.2", features = ["vendored"] }
2626
# ^^ this is a transitive dependency
2727
# ^^ we vendor OpenSSL ∵ we want to be standalone and just work inside minimal docker images

crates/cli/src/dump.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ pub fn dump(
4444
}
4545

4646
let programs = pantry_db::programs_for_project(&project, &conn)?;
47-
let companions = pantry_db::companions_for_projects(&[project.clone()], &conn)?
48-
.iter()
49-
.map(|c| c.to_string())
50-
.collect::<Vec<String>>();
47+
let companions =
48+
pantry_db::companions_for_projects(std::slice::from_ref(&project), &conn)?
49+
.iter()
50+
.map(|c| c.to_string())
51+
.collect::<Vec<String>>();
5152

5253
let pkg = JsonV2Pkg {
5354
path: installation.path,

crates/cli/src/execve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub fn execve(
4747
// Replace the process with the new command, arguments, and environment
4848
let execve_result = nix_execve(&c_command, &c_args, &c_env);
4949
if execve_result.is_err() {
50-
let errno = execve_result.unwrap_err();
50+
let Err(errno) = execve_result;
5151
return Err(format!("execve failed with errno: {}", errno).into());
5252
}
5353

crates/lib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ fs2 = "0.4.3"
3333
tempfile = "3.16.0"
3434

3535
[target.'cfg(not(target_os = "macos"))'.dependencies]
36-
rusqlite = { version = "0.33.0", features = ["bundled"] }
36+
rusqlite = { version = "0.37.0", features = ["bundled"] }

0 commit comments

Comments
 (0)