# 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 = "2021"
name = "navigo"
version = "0.4.0"
authors = ["Thomas <el.totorototo@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPS/geospatial data for Rust — trace analysis, GPX parsing, Minetti pace model, race route analysis (legs/sections/stages), live calibration."
readme = "README.md"
keywords = [
    "gps",
    "geospatial",
    "navigation",
    "elevation",
    "trace",
]
categories = [
    "science::geo",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/totorototo/navigo"

[features]
wasm = [
    "dep:wasm-bindgen",
    "dep:serde",
    "dep:serde-wasm-bindgen",
]

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

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

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

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

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