[package]
edition = "2024"
rust-version = "1.85"
name = "boost_geometry"
version = "0.0.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust port of Boost.Geometry — same design philosophy (concepts, tags, strategy-based dispatch), works with your own point/geometry types, re-exported as a single API surface."
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"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std"]
libm = [
"geometry-coords/libm",
"geometry-cs/libm",
]
std = [
"geometry-coords/std",
"geometry-cs/std",
"geometry-trait/std",
"geometry-model/std",
"geometry-strategy/std",
"geometry-algorithm/std",
"geometry-adapt/std",
"geometry-overlay/std",
"geometry-rtree/std",
]
[lib]
name = "boost_geometry"
path = "src/lib.rs"
[[example]]
name = "parcel_buffer"
path = "examples/parcel_buffer.rs"
[[example]]
name = "parcel_buffer_manual"
path = "examples/parcel_buffer_manual.rs"
[[test]]
name = "downstream_smoke"
path = "tests/downstream_smoke.rs"
[[test]]
name = "dyn_pipeline"
path = "tests/dyn_pipeline.rs"
[[test]]
name = "readonly_point"
path = "tests/readonly_point.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[test]]
name = "walkthrough"
path = "tests/walkthrough.rs"
[[bench]]
name = "distance"
path = "benches/distance.rs"
harness = false
[[bench]]
name = "measures"
path = "benches/measures.rs"
harness = false
[[bench]]
name = "predicates"
path = "benches/predicates.rs"
harness = false
[dependencies.geometry-adapt]
version = "0.0.7"
default-features = false
[dependencies.geometry-algorithm]
version = "0.0.7"
default-features = false
[dependencies.geometry-coords]
version = "0.0.7"
default-features = false
[dependencies.geometry-cs]
version = "0.0.7"
default-features = false
[dependencies.geometry-derive]
version = "0.0.7"
[dependencies.geometry-model]
version = "0.0.7"
default-features = false
[dependencies.geometry-overlay]
version = "0.0.7"
default-features = false
[dependencies.geometry-rtree]
version = "0.0.7"
default-features = false
[dependencies.geometry-strategy]
version = "0.0.7"
default-features = false
[dependencies.geometry-tag]
version = "0.0.7"
[dependencies.geometry-trait]
version = "0.0.7"
default-features = false
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.trybuild]
version = "1"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"