[package]
edition = "2024"
rust-version = "1.85"
name = "boost_geometry"
version = "0.0.8"
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",
"geometry-trait/libm",
"geometry-model/libm",
"geometry-strategy/libm",
"geometry-algorithm/libm",
"geometry-adapt/libm",
"geometry-overlay/libm",
"geometry-rtree/libm",
]
serde = ["geometry-rtree/serde"]
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 = "algorithm_imports"
path = "tests/algorithm_imports.rs"
[[test]]
name = "algorithms_parity"
path = "tests/algorithms_parity.rs"
[[test]]
name = "buffer_strategy_parity"
path = "tests/buffer_strategy_parity.rs"
[[test]]
name = "differential_quantities_parity"
path = "tests/differential_quantities_parity.rs"
[[test]]
name = "downstream_smoke"
path = "tests/downstream_smoke.rs"
[[test]]
name = "dyn_pipeline"
path = "tests/dyn_pipeline.rs"
[[test]]
name = "geodesic_intersection_parity"
path = "tests/geodesic_intersection_parity.rs"
[[test]]
name = "geographic_direct_parity"
path = "tests/geographic_direct_parity.rs"
[[test]]
name = "geographic_inverse_parity"
path = "tests/geographic_inverse_parity.rs"
[[test]]
name = "geometry_model_parity"
path = "tests/geometry_model_parity.rs"
[[test]]
name = "integral_promotion_parity"
path = "tests/integral_promotion_parity.rs"
[[test]]
name = "meridian_vertex_parity"
path = "tests/meridian_vertex_parity.rs"
[[test]]
name = "multi_registration_parity"
path = "tests/multi_registration_parity.rs"
[[test]]
name = "overlay_algorithms_parity"
path = "tests/overlay_algorithms_parity.rs"
[[test]]
name = "overlay_completion_parity"
path = "tests/overlay_completion_parity.rs"
[[test]]
name = "policy_parity"
path = "tests/policy_parity.rs"
[[test]]
name = "precise_math_parity"
path = "tests/precise_math_parity.rs"
[[test]]
name = "rational_coordinate_parity"
path = "tests/rational_coordinate_parity.rs"
[[test]]
name = "readonly_point"
path = "tests/readonly_point.rs"
[[test]]
name = "relate_pair_parity"
path = "tests/relate_pair_parity.rs"
[[test]]
name = "reverse_dispatch_parity"
path = "tests/reverse_dispatch_parity.rs"
[[test]]
name = "rtree_completion_parity"
path = "tests/rtree_completion_parity.rs"
[[test]]
name = "segment_intersection_strategy_parity"
path = "tests/segment_intersection_strategy_parity.rs"
[[test]]
name = "series_expansion_parity"
path = "tests/series_expansion_parity.rs"
[[test]]
name = "spheroidal_normalization_parity"
path = "tests/spheroidal_normalization_parity.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[test]]
name = "validity_completion_parity"
path = "tests/validity_completion_parity.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.8"
default-features = false
[dependencies.geometry-algorithm]
version = "0.0.8"
default-features = false
[dependencies.geometry-coords]
version = "0.0.8"
default-features = false
[dependencies.geometry-cs]
version = "0.0.8"
default-features = false
[dependencies.geometry-derive]
version = "0.0.7"
[dependencies.geometry-model]
version = "0.0.8"
default-features = false
[dependencies.geometry-overlay]
version = "0.0.8"
default-features = false
[dependencies.geometry-rtree]
version = "0.0.8"
default-features = false
[dependencies.geometry-strategy]
version = "0.0.8"
default-features = false
[dependencies.geometry-tag]
version = "0.0.7"
[dependencies.geometry-trait]
version = "0.0.8"
default-features = false
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.trybuild]
version = "1"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"