[build-dependencies.uniffi]
features = ["build"]
version = "0.28.0"
[dependencies.geo]
version = "0.28.0"
[dependencies.getrandom]
optional = true
version = "0.2.15"
[dependencies.polyline]
version = "0.11.0"
[dependencies.serde]
features = ["derive"]
version = "1.0.162"
[dependencies.serde-wasm-bindgen]
optional = true
version = "0.6.5"
[dependencies.serde_json]
default-features = false
version = "1.0.117"
[dependencies.thiserror]
version = "1.0.40"
[dependencies.uniffi]
optional = true
version = "0.28.0"
[dependencies.uuid]
features = ["v4", "serde"]
version = "1.8.0"
[dependencies.wasm-bindgen]
optional = true
version = "0.2.92"
[dependencies.web-time]
features = ["serde"]
optional = true
version = "1.1.0"
[dev-dependencies.assert-json-diff]
version = "2.0.2"
[dev-dependencies.insta]
features = ["yaml"]
version = "1.33.0"
[dev-dependencies.proptest]
default-features = false
version = "1.4.0"
[dev-dependencies.rstest]
version = "0.21.0"
[dev-dependencies.wasm-bindgen-test]
version = "0.3"
[features]
alloc = []
default = ["std", "uniffi"]
std = ["alloc", "serde_json/std", "proptest/std"]
wasm_js = ["std", "getrandom/js", "serde-wasm-bindgen", "wasm-bindgen", "web-time"]
[lib]
crate-type = ["cdylib", "staticlib", "lib"]
name = "ferrostar"
path = "src/lib.rs"
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
unused_qualifications = "warn"
[package]
authors = ["Ian Wagner <ian@stadiamaps.com>", "Jacob Fielding <jacob@rallista.app>", "Luke Seelenbinder <luke@stadiamaps.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["science::geo"]
description = "The core of modern turn-by-turn navigation."
edition = "2021"
keywords = ["navigation", "routing", "valhalla", "osrm"]
license = "BSD-3-Clause"
name = "ferrostar"
readme = "README.md"
repository = "https://github.com/stadiamaps/ferrostar"
rust-version = "1.75.0"
version = "0.8.0"
[[test]]
name = "navigation_controller"
path = "tests/navigation_controller.rs"