mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-25 03:07:20 +02:00
Update to TaskChampion 2.0.2 (#3746)
This commit is contained in:
parent
ae3651fd3f
commit
2e5177aa7c
6 changed files with 8 additions and 7 deletions
|
@ -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]
|
||||
|
|
|
@ -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()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue