summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2023-06-30 09:36:19 +0200
committerGitHub <noreply@github.com>2023-06-30 09:36:19 +0200
commitab90c3f73a5abf776853dc3bc9d3fd36a5df9a34 (patch)
tree608ba8598c30dc9bbcabe2dd294426583aafc83d
parent4bee112abe142d10d1d50c833b67d7bf70c5b27e (diff)
parent5a201c4c0b9b7b080a9e2146b9cdc39210d125e9 (diff)
Merge pull request #31 from matthiasbeyer/update-msrv
Update msrv
-rw-r--r--.github/workflows/ci.yml8
-rw-r--r--README.md4
-rw-r--r--src/annotation.rs2
-rw-r--r--src/task.rs2
4 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3aec624..503da7b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
rust:
- - 1.60.0
+ - 1.63.0
- stable
steps:
- uses: actions/checkout@v3
@@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
- toolchain: 1.60.0
+ toolchain: 1.63.0
- run: rustup component add rustfmt
- name: cargo-fmt
uses: actions-rs/cargo@v1
@@ -43,7 +43,7 @@ jobs:
strategy:
matrix:
rust:
- - 1.60.0
+ - 1.63.0
- stable
steps:
- uses: actions/checkout@v3
@@ -69,7 +69,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
- toolchain: 1.60.0
+ toolchain: 1.63.0
- uses: swatinem/rust-cache@v2
- run: rustup component add clippy
- name: cargo-clippy
diff --git a/README.md b/README.md
index 74e7731..108b292 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,10 @@
you can write taskwarrior hooks without having to deal with the JSON
import/export foo by simply using this crate.
+# MSRV
+
+1.63.0
+
# License
task-hookrs - A Rust library for writing taskwarrior hooks and general interfacing with taskwarrior
diff --git a/src/annotation.rs b/src/annotation.rs
index 6f5a4e0..c1498fa 100644
--- a/src/annotation.rs
+++ b/src/annotation.rs
@@ -11,7 +11,7 @@ use crate::date::Date;
/// Annotation type for task annotations.
/// Each annotation in taskwarrior consists of a date and a description,
/// the date is named "entry", the description "description" in the JSON export.
-#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, PartialEq)]
+#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, Eq, PartialEq)]
pub struct Annotation {
entry: Date,
description: String,
diff --git a/src/task.rs b/src/task.rs
index 46690ce..53e26b1 100644
--- a/src/task.rs
+++ b/src/task.rs
@@ -647,7 +647,7 @@ mod test {
use uuid::{uuid, Uuid};
fn mklogger() {
- let _ = env_logger::init();
+ env_logger::init();
log::debug!("Env-logger enabled");
}