ferrostar 0.47.2

The core of modern turn-by-turn navigation.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88.0"
name = "ferrostar"
version = "0.47.2"
authors = [
    "Ian Wagner <ian@stadiamaps.com>",
    "Jacob Fielding <jacob@rallista.app>",
    "Luke Seelenbinder <luke@stadiamaps.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The core of modern turn-by-turn navigation."
readme = "README.md"
keywords = [
    "navigation",
    "routing",
    "valhalla",
    "osrm",
]
categories = ["science::geo"]
license = "BSD-3-Clause"
repository = "https://github.com/stadiamaps/ferrostar"
resolver = "2"

[features]
alloc = []
default = [
    "std",
    "uniffi",
]
std = [
    "alloc",
    "serde_json/std",
    "proptest/std",
]
wasm_js = [
    "std",
    "getrandom/wasm_js",
    "serde-wasm-bindgen",
    "tsify",
    "wasm-bindgen",
    "web-time",
    "uuid/js",
]

[lib]
name = "ferrostar"
crate-type = [
    "cdylib",
    "staticlib",
    "lib",
]
path = "src/lib.rs"

[[test]]
name = "navigation_controller"
path = "tests/navigation_controller.rs"

[dependencies.chrono]
version = "0.4.41"
features = ["serde"]

[dependencies.geo]
version = "0.31.0"

[dependencies.getrandom]
version = "0.3.3"
optional = true

[dependencies.log]
version = "0.4.29"

[dependencies.polyline]
version = "0.11.0"

[dependencies.rand]
version = "0.9.2"

[dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dependencies.serde-wasm-bindgen]
version = "0.6.5"
optional = true

[dependencies.serde_json]
version = "1.0.149"
default-features = false

[dependencies.serde_with]
version = "3.16.1"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tsify]
version = "0.5.5"
features = ["js"]
optional = true
default-features = false

[dependencies.uniffi]
version = "0.31.0"
optional = true

[dependencies.uuid]
version = "1.20.0"
features = [
    "v4",
    "serde",
]

[dependencies.wasm-bindgen]
version = "0.2.93"
optional = true

[dependencies.web-time]
version = "1.1.0"
features = ["serde"]
optional = true

[dev-dependencies.assert-json-diff]
version = "2.0.2"

[dev-dependencies.insta]
version = "1.46.3"
features = [
    "json",
    "yaml",
    "redactions",
]

[dev-dependencies.proptest]
version = "1.8.0"
default-features = false

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[build-dependencies.uniffi]
version = "0.31.0"
features = ["build"]

[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.15.1"

[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"