Crates.io | tracker-rs |
lib.rs | tracker-rs |
version | 0.6.0 |
source | src |
created_at | 2021-06-25 13:42:39.939494 |
updated_at | 2024-10-18 16:23:18.200651 |
description | Rust bindings for tracker |
homepage | https://dleggo.gitlab.io/tracker-rs/tracker/index.html |
repository | https://gitlab.gnome.org/World/Rust/tracker-rs |
max_upload_size | |
id | 414829 |
size | 117,621 |
The Rust API is documented here: https://dleggo.gitlab.io/tracker-rs/tracker/index.html.
All the functions that GIR can simply generate are available. Some things haven't been added to tracker-rs yet though:
foreach
in NamespaceManager
is not available.get_values
in Resource
is not available.update_array_async
in SparqlConnection
is not available.I do not know enough of Rust, C, or FFI to enable the class and functions above, I will try in the future. Please contribute to enable everything in Tracker 3.x, writing the functions in idiomatic rust, and creating working examples. Also a suite of tests would be awesome!
To regenerate the the code from the gir files. Run ./generator.py