[package]
edition = "2024"
rust-version = "1.90"
name = "lat-long"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Geographic latitude/longitude coordinate types with multiple numeric backends"
readme = "README.md"
keywords = [
"geo",
"latitude",
"longitude",
"coordinate",
"geography",
]
categories = [
"science",
"data-structures",
"no-std",
]
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
features = ["serde"]
rustdoc-args = ["--generate-link-to-definition"]
[package.metadata.playground]
features = ["serde"]
[features]
alloc = []
default = ["std"]
geojson = ["serde_json/alloc"]
serde = [
"serde_json/alloc",
"ordered-float/serde",
"url?/serde",
]
std = [
"alloc",
"ordered-float/std",
"serde_json/std",
"urn",
]
urn = ["url"]
[lib]
name = "lat_long"
path = "src/lib.rs"
[[test]]
name = "coordinate_tests"
path = "tests/coordinate_tests.rs"
[[test]]
name = "latitude_tests"
path = "tests/latitude_tests.rs"
[[test]]
name = "longitude_tests"
path = "tests/longitude_tests.rs"
[[test]]
name = "parse_tests"
path = "tests/parse_tests.rs"
[dependencies.document-features]
version = "0.2"
[dependencies.ordered-float]
version = "5.1"
default-features = false
[dependencies.serde_json]
version = "1.0"
optional = true
default-features = false
[dependencies.url]
version = "2.5"
optional = true
default-features = false
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
version = "0.3"