docs.rs failed to build tracker-rs-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
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 class
EndpointDBus
is not available. - The function
foreach
inNamespaceManager
is not available. - The function
get_values
inResource
is not available. - The function
update_array_async
inSparqlConnection
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 gir.sh
To also obtain the latest gir/
and tracker-sys/gir-files/
, run gir.sh update