docs.rs failed to build rsc_osrm-0.1.28
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.
rsc_osrm
Rust wrapper for osrm
Requeries that osrm's dependencies is installed
to link final binary, you need: 0. libosrm.a
- libboost_filesystem.so
- libboost_iostreams.so
- libboost_thread.so
- libboost_system.so
How to use:
- Create an EngineConfig, pass path to .osrm file. You may change other settings, see osrm documentation.
- Create an Osrm via Osrm::new and pass in the config.
- Create a request object (ex: NearestRequest), recomended to always use ::new to get correct default values.
- Call run on the request object and pass in osrm.
Nearest example:
use ;