| Crates.io | taskwarrior-sys |
| lib.rs | taskwarrior-sys |
| version | 0.1.2 |
| created_at | 2021-11-18 14:20:27.603295+00 |
| updated_at | 2025-10-30 15:52:05.283524+00 |
| description | Rust bindings for taskwarrior |
| homepage | |
| repository | https://github.com/n8henrie/taskwarrior-sys |
| max_upload_size | |
| id | 483979 |
| size | 5,518,349 |
Rust bindings and a safe wrapper for taskwarrior.
This is still mostly in the contemplative and pre-alpha stage. I am a rust
novice still learning about FFI and unsafe. I don't know C++, and I don't yet
know much about taskwarrior.
Due to improper use of unsafe, I'd guess that this project could do
terrible things to your system, your taskwarrior database, etc., and I'd
strongly recommend that you don't use it, at least not yet, unless you know
much more about unsafe and C++ than I do.
I hope to initially expose much of it as FFI calls into the real taskwarrior, and slowly migrate parts of it to rust. We'll see.
For anyone looking for a cool rust-based task management tool similar to taskwarrior, check out TaskChampion.
cargo test runs taskwarrior list via FFI$ git clone https://github.com/n8henrie/taskwarrior-rs.git
$ cd taskwarrior-rs
$ git submodule update --init --recursive
$ cargo test -- --test-threads=1
cargo install taskwarrior-rscd taskwarrior-rs/taskwarrior-sys or cd taskwarrior-rs/taskwarriorcargo testcargo install --version x.x