Hi!
Thanks for making this library available! We managed to make it work for a project we're working on, and it was extremely helpful. We did run into a few issues that I wanted to ask about:
- The code examples didn't work out of the box. From what I can tell it's because the symbols aren't re-exported from lib.rs, so the compiler is complaining about missing imports if you try the examples as they are
- The docs say that the table function returns distance and time, but apparently the default for
param.annotations is AnnotationsType::Duration, not AnnotationsType::All, so that would need to be set in wrapper.cpp for the distance to be returned
- I got a weird issue where I got an error that the MLD information was missing from the data. It started working once I changed the
osrm-backend version from 6.0.0 to the hash for 6.0.0-53, but not sure what was happening there exactly
I would love a patch for the first two, and to understand why the third one happens, if you know. I can open a PR (and/or separate issues for all three points if you'd like), but my rust skills are limited so it would be AI assisted.
Again, thanks for your work in making this available!
Hi!
Thanks for making this library available! We managed to make it work for a project we're working on, and it was extremely helpful. We did run into a few issues that I wanted to ask about:
param.annotationsisAnnotationsType::Duration, notAnnotationsType::All, so that would need to be set inwrapper.cppfor the distance to be returnedosrm-backendversion from6.0.0to the hash for6.0.0-53, but not sure what was happening there exactlyI would love a patch for the first two, and to understand why the third one happens, if you know. I can open a PR (and/or separate issues for all three points if you'd like), but my rust skills are limited so it would be AI assisted.
Again, thanks for your work in making this available!