Skip to content

Commit

Permalink
Update to TaskChampion 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Jan 6, 2025
1 parent ddeec35 commit 512233a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# If this version is old enough to cause errors, or older than the
# TaskChampion MSRV, bump it to the MSRV of the currently-required
# TaskChampion package; if necessary, bump that version as well.
toolchain: "1.78.0" # MSRV
toolchain: "1.81.0" # MSRV
override: true

- uses: actions-rs/cargo@v1.0.3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
# TaskChampion MSRV, bump it to the MSRV of the currently-required
# TaskChampion package; if necessary, bump that version as well.
# This should match the MSRV in `src/taskchampion-cpp/Cargo.toml`.
toolchain: "1.78.0" # MSRV
toolchain: "1.81.0" # MSRV
override: true

- uses: actions-rs/cargo@v1.0.3
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You will need the following libraries:
- libuuid (not needed for OSX)

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

Basic Installation
------------------
Expand Down
4 changes: 2 additions & 2 deletions src/taskchampion-cpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name = "taskchampion-lib"
version = "0.1.0"
edition = "2021"
publish = false
rust-version = "1.78.0" # MSRV
rust-version = "1.81.0" # MSRV

[lib]
crate-type = ["staticlib"]

[dependencies]
taskchampion = "=1.0.2"
taskchampion = "=2.0.2"
cxx = "1.0.133"

[features]
Expand Down
1 change: 1 addition & 0 deletions src/taskchampion-cpp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ fn new_replica_on_disk(
let storage = tc::StorageConfig::OnDisk {
taskdb_dir: PathBuf::from(taskdb_dir),
create_if_missing,
access_mode: tc::storage::AccessMode::ReadWrite,
}
.into_storage()?;
Ok(Box::new(tc::Replica::new(storage).into()))
Expand Down

0 comments on commit 512233a

Please sign in to comment.