From 8605e01339a126a3fa185db4e6e3f458aeff11de Mon Sep 17 00:00:00 2001 From: Ruben Anders Date: Thu, 12 Jan 2023 09:35:09 +0100 Subject: [PATCH 1/4] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 8b8b17f..80f49e0 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@ A small library to get memory usage and elapsed CPU time. -* Supports Windows, Linux and macOS. -* Async interface, uses `tokio::fs` for file operations +Supports Windows, Linux and macOS. ```rust use simple_process_stats::ProcessStats; From 8e8ada73d18e625a2121c974b9d6f4be83f328f4 Mon Sep 17 00:00:00 2001 From: Ruben Anders Date: Thu, 12 Jan 2023 09:35:59 +0100 Subject: [PATCH 2/4] Update lib.rs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 2c21bff..21272a3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,7 +3,7 @@ //! A small library to get memory usage and elapsed CPU time. //! -//! * Supports Windows, Linux and macOS. +//! Supports Windows, Linux and macOS. //! //! ```rust //! use simple_process_stats::ProcessStats; From 570e83e99219eab1f4a0b02d861432da3ed2eb8c Mon Sep 17 00:00:00 2001 From: Ruben Anders Date: Thu, 12 Jan 2023 09:36:12 +0100 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 80f49e0..ffdbfcb 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Supports Windows, Linux and macOS. ```rust use simple_process_stats::ProcessStats; -let process_stats = ProcessStats::get().await.expect("could not get stats for running process"); +let process_stats = ProcessStats::get().expect("could not get stats for running process"); println!("{:?}", process_stats); // ProcessStats { // cpu_time_user: 421.875ms, From eb449060eff9e6a0ba5283750fb292b10d378e1c Mon Sep 17 00:00:00 2001 From: Ruben Anders Date: Thu, 12 Jan 2023 09:39:17 +0100 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 041520f..01fdcc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog ## Unversioned -- Major: Replaced async api with synchronous API. (#20, #22) +- Major: Replaced async api with synchronous API. (#20, #22, #24) ## v1.0.0