Skip to content

Commit

Permalink
chore: update dependencies 06.11.2022
Browse files Browse the repository at this point in the history
sysinfo = "0.26"

MSRV 1.59.0
  • Loading branch information
joseluisq committed Nov 6, 2022
1 parent 81ce386 commit 1845431
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 74 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# Specific Rust channels
- build: pinned
os: ubuntu-20.04
rust: 1.57.0
rust: 1.59.0
- build: stable
os: ubuntu-20.04
rust: stable
Expand Down
120 changes: 52 additions & 68 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ name = "paket"
path = "src/lib.rs"

[dependencies]
dirs = "3.0"
dirs = "4.0"
toml = "0.5"
structopt = { version = "0.3", default-features = false }
anyhow = "1.0"
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_ignored = "0.1"
semver = { version = "0.10", default-features = false, features = ["serde"] }
sysinfo = "0.18"
semver = { version = "1.0", default-features = false, features = ["serde"] }
sysinfo = "0.26"
libc = "0.2"

[profile.release]
Expand Down
3 changes: 1 addition & 2 deletions src/paket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ impl<'a> Paket {
// Check if `paket` is running on top of a Fish shell session
let pid = process::getppid().to_string();
let on_fish = System::new_all()
.get_process_by_name("fish")
.iter()
.processes_by_name("fish")
.any(|p| p.pid().to_string() == pid);

if !on_fish {
Expand Down

0 comments on commit 1845431

Please sign in to comment.