[package]
edition = "2024"
rust-version = "1.85"
name = "geometry-algorithm"
version = "0.0.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Free-function algorithms (distance, length, area, within, intersects, …) ported from Boost.Geometry."
readme = "README.md"
keywords = [
"geometry",
"gis",
"spatial",
"boost",
"computation",
]
categories = [
"science::geo",
"algorithms",
"mathematics",
"no-std",
]
license = "BSL-1.0"
repository = "https://github.com/pentatonick/boost_geometry"
[features]
default = ["std"]
libm = [
"geometry-coords/libm",
"geometry-trait/libm",
"geometry-strategy/libm",
"geometry-model/libm",
]
std = [
"geometry-coords/std",
"geometry-cs/std",
"geometry-trait/std",
"geometry-strategy/std",
"geometry-model/std",
]
[lib]
name = "geometry_algorithm"
path = "src/lib.rs"
[[test]]
name = "distance_geographic"
path = "tests/distance_geographic.rs"
[[test]]
name = "dyn_wrappers"
path = "tests/dyn_wrappers.rs"
[[test]]
name = "leaf_reproduction"
path = "tests/leaf_reproduction.rs"
[[test]]
name = "quickstart_adapted"
path = "tests/quickstart_adapted.rs"
[[test]]
name = "quickstart_cartesian"
path = "tests/quickstart_cartesian.rs"
[[test]]
name = "quickstart_spherical"
path = "tests/quickstart_spherical.rs"
[[test]]
name = "reverse_dispatch"
path = "tests/reverse_dispatch.rs"
[dependencies.geometry-coords]
version = "0.0.8"
default-features = false
[dependencies.geometry-cs]
version = "0.0.8"
default-features = false
[dependencies.geometry-model]
version = "0.0.8"
default-features = false
[dependencies.geometry-strategy]
version = "0.0.8"
default-features = false
[dependencies.geometry-tag]
version = "0.0.7"
default-features = false
[dependencies.geometry-trait]
version = "0.0.8"
default-features = false
[dev-dependencies]
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"