From b21133804fd35b4a8d5f5dac869c941eb4f3d07d Mon Sep 17 00:00:00 2001 From: Ruben Anders Date: Thu, 12 Jan 2023 23:41:59 +0100 Subject: [PATCH] Dependency updates, release v2.0.0 --- CHANGELOG.md | 4 ++-- Cargo.toml | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a053652..1299f20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog -## Unversioned +## v2.0.0 - Major: Replaced async api with synchronous API. (#20, #22, #24) -- macOS: apply timebase information to CPU times. (#21, #25) +- Bugfix: macOS: apply timebase information to CPU times. (#21, #25) ## v1.0.0 diff --git a/Cargo.toml b/Cargo.toml index 85597d7..d05a9de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,26 +2,26 @@ name = "simple-process-stats" description = "Get memory usage and CPU time on Linux and Windows" license = "MIT" -version = "1.0.0" +version = "2.0.0" keywords = ["process", "cpu", "memory"] categories = ["api-bindings", "asynchronous", "os"] repository = "https://github.com/robotty/simple-process-stats" readme = "README.md" authors = ["Ruben Anders "] -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -thiserror = "1.0.20" +thiserror = "1" [target.'cfg(target_os = "windows")'.dependencies] -winapi = { version = "0.3.9", features = ["psapi", "processthreadsapi"] } +winapi = { version = "0.3", features = ["psapi", "processthreadsapi"] } [target.'cfg(target_os = "linux")'.dependencies] -procfs = "0.9.0" -libc = "0.2.72" +procfs = "0.14" +libc = "0.2" [target.'cfg(target_os = "macos")'.dependencies] -darwin-libproc = "0.2.0" -libc = "0.2.72" +darwin-libproc = "0.2" +libc = "0.2"