[package]
edition = "2024"
rust-version = "1.85"
name = "geometry-trait"
version = "0.0.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Concept traits (Point, Linestring, Ring, Polygon, multi-variants, …) for the Boost.Geometry Rust port — implement them for your own types."
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"]
std = [
"geometry-coords/std",
"geometry-cs/std",
]
[lib]
name = "geometry_trait"
path = "src/lib.rs"
[[test]]
name = "concept_check_smoke"
path = "tests/concept_check_smoke.rs"
[[test]]
name = "point_smoke"
path = "tests/point_smoke.rs"
[[test]]
name = "ro_point"
path = "tests/ro_point.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[dependencies.geometry-coords]
version = "0.0.8"
default-features = false
[dependencies.geometry-cs]
version = "0.0.8"
default-features = false
[dependencies.geometry-tag]
version = "0.0.7"
[dev-dependencies.trybuild]
version = "1"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"