The Rust API is documented here: https://world.pages.gitlab.gnome.org/Rust/tracker-rs/tracker/.
All the functions that GIR can simply generate are available. Some things haven't been added to tracker-rs yet though:
EndpointDBus
is not available.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