Skip to content

Commit 2e5177a

Browse files
authored
Update to TaskChampion 2.0.2 (GothenburgBitFactory#3746)
1 parent ae3651f commit 2e5177a

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

.github/workflows/checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# If this version is old enough to cause errors, or older than the
3333
# TaskChampion MSRV, bump it to the MSRV of the currently-required
3434
# TaskChampion package; if necessary, bump that version as well.
35-
toolchain: "1.78.0" # MSRV
35+
toolchain: "1.81.0" # MSRV
3636
override: true
3737

3838
- uses: actions-rs/[email protected]

.github/workflows/tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
# TaskChampion MSRV, bump it to the MSRV of the currently-required
120120
# TaskChampion package; if necessary, bump that version as well.
121121
# This should match the MSRV in `src/taskchampion-cpp/Cargo.toml`.
122-
toolchain: "1.78.0" # MSRV
122+
toolchain: "1.81.0" # MSRV
123123
override: true
124124

125125
- uses: actions-rs/[email protected]

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

INSTALL

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You will need the following libraries:
2222
- libuuid (not needed for OSX)
2323

2424
You will need a Rust toolchain of the Minimum Supported Rust Version (MSRV):
25-
- rust 1.78.0
25+
- rust 1.81.0
2626

2727
Basic Installation
2828
------------------

src/taskchampion-cpp/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name = "taskchampion-lib"
33
version = "0.1.0"
44
edition = "2021"
55
publish = false
6-
rust-version = "1.78.0" # MSRV
6+
rust-version = "1.81.0" # MSRV
77

88
[lib]
99
crate-type = ["staticlib"]
1010

1111
[dependencies]
12-
taskchampion = "=1.0.2"
12+
taskchampion = "=2.0.2"
1313
cxx = "1.0.133"
1414

1515
[features]

src/taskchampion-cpp/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ fn new_replica_on_disk(
494494
let storage = tc::StorageConfig::OnDisk {
495495
taskdb_dir: PathBuf::from(taskdb_dir),
496496
create_if_missing,
497+
access_mode: tc::storage::AccessMode::ReadWrite,
497498
}
498499
.into_storage()?;
499500
Ok(Box::new(tc::Replica::new(storage).into()))

0 commit comments

Comments
 (0)