13 unstable releases

0.7.0 Sep 13, 2025
0.6.1 Jun 26, 2025
0.6.0 Oct 18, 2024
0.5.0 Aug 14, 2023
0.1.0 Jun 25, 2021

#2642 in Database interfaces

Download history 81/week @ 2025-06-27 20/week @ 2025-07-04 23/week @ 2025-07-11 24/week @ 2025-07-18 17/week @ 2025-07-25 25/week @ 2025-08-01 51/week @ 2025-08-08 56/week @ 2025-08-15 59/week @ 2025-08-22 35/week @ 2025-08-29 44/week @ 2025-09-05 208/week @ 2025-09-12 98/week @ 2025-09-19 50/week @ 2025-09-26 15/week @ 2025-10-03 22/week @ 2025-10-10

213 downloads per month
Used in tracker-rs

MIT license

46KB
543 lines

Tracker-rs for Tracker 3.0

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:

  • The function foreach in NamespaceManager is not available.
  • The function get_values in Resource is not available.
  • The function update_array_async in SparqlConnection is not available.
  • The sparql utility functions are missing.

Work In Progress

  • Write examples to check the basic functionality is working.
  • Test flatpak intergration and async functionality.

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!

Build

To regenerate the the code from the gir files. Run ./generator.py

Dependencies

~1.1–3.5MB
~67K SLoC