summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-08-26 21:02:22 -0400
committerGitHub <noreply@github.com>2023-08-26 21:02:22 -0400
commit11676bb6c1691a4cc512340eedac0e721f0837d0 (patch)
treefc45e41196d8e3e1e490727d7c4441f0ebe3f102
parent3e00e654835aa8f0fa099415985a0413acebb81c (diff)
deps: pin serde to 1.0.188 (#1286)
* deps: pin serde to 1.0.188 * changelog
-rw-r--r--CHANGELOG.md6
-rw-r--r--Cargo.lock18
-rw-r--r--Cargo.toml4
-rw-r--r--README.md11
4 files changed, 24 insertions, 15 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4a009192..468540f8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [0.9.6] - 2023-08-26
+
+## Other
+
+- [#1286](https://github.com/ClementTsang/bottom/pull/1286): Pin serde to 1.0.188 to help with potential `cargo install` issues. Note this version should be fine and not pull in binaries.
+
## [0.9.5] - 2023-08-26
## Other
diff --git a/Cargo.lock b/Cargo.lock
index 1c88ff9c..b1b893b2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -148,7 +148,7 @@ checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635"
[[package]]
name = "bottom"
-version = "0.9.5"
+version = "0.9.6"
dependencies = [
"anyhow",
"assert_cmd",
@@ -1102,18 +1102,18 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "serde"
-version = "1.0.171"
+version = "1.0.188"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9"
+checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.171"
+version = "1.0.188"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682"
+checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2"
dependencies = [
"proc-macro2",
"quote",
@@ -1300,9 +1300,9 @@ dependencies = [
[[package]]
name = "time"
-version = "0.3.26"
+version = "0.3.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a79d09ac6b08c1ab3906a2f7cc2e81a0e27c7ae89c63812df75e52bef0751e07"
+checksum = "0bb39ee79a6d8de55f48f2293a830e040392f1c5f16e336bdd1788cd0aadce07"
dependencies = [
"deranged",
"itoa",
@@ -1319,9 +1319,9 @@ checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb"
[[package]]
name = "time-macros"
-version = "0.2.12"
+version = "0.2.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "75c65469ed6b3a4809d987a41eb1dc918e9bc1d92211cbad7ae82931846f7451"
+checksum = "733d258752e9303d392b94b75230d07b0b9c489350c69b851fc6c065fde3e8f9"
dependencies = [
"time-core",
]
diff --git a/Cargo.toml b/Cargo.toml
index 2e0c7c2b..43328a31 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bottom"
-version = "0.9.5"
+version = "0.9.6"
authors = ["Clement Tsang <cjhtsang@uwaterloo.ca>"]
edition = "2021"
repository = "https://github.com/ClementTsang/bottom"
@@ -93,7 +93,7 @@ log = { version = "0.4.20", optional = true }
nvml-wrapper = { version = "0.9.0", optional = true }
once_cell = "1.18.0"
regex = "1.9.3"
-serde = { version = "<=1.0.171 ", features = ["derive"] }
+serde = { version = "=1.0.188 ", features = ["derive"] }
starship-battery = { version = "0.8.2", optional = true }
sysinfo = "=0.29.8"
thiserror = "1.0.47"
diff --git a/README.md b/README.md
index 8f907f68..013ddc57 100644
--- a/README.md
+++ b/README.md
@@ -133,17 +133,20 @@ For more details on unsupported platforms and known problems, check out [the doc
Installation via cargo can be done by installing the [`bottom`](https://crates.io/crates/bottom) crate:
```bash
-# If required, update Rust to the stable channel first
+# If required, update Rust to the stable channel first:
rustup update stable
# Install
cargo install bottom --locked
-# If you use another channel by default, you can specify the stable channel as such:
+# If you use another channel by default, you can specify
+# the stable channel like so:
cargo +stable install bottom --locked
-# --locked may be omitted if you wish to not used locked dependencies, though this may also cause problems:
-cargo +stable install bottom
+# --locked may be omitted if you wish to not use the
+# locked crate versions in Cargo.lock. However, be
+# aware that this may cause problems with dependencies.
+cargo install bottom
```
### Arch Linux