geometry-model 0.0.8

Built-in concrete geometry types (Point, Segment, Box, Linestring, Polygon, …) mirroring Boost.Geometry models — or bring your own via the concept traits.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "geometry-model"
version = "0.0.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Built-in concrete geometry types (Point, Segment, Box, Linestring, Polygon, …) mirroring Boost.Geometry models — or bring your own via the concept traits."
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",
]
serde = ["dep:serde"]
std = [
    "geometry-coords/std",
    "geometry-cs/std",
    "geometry-trait/std",
]

[lib]
name = "geometry_model"
path = "src/lib.rs"

[[test]]
name = "default_construction"
path = "tests/default_construction.rs"

[[test]]
name = "macros"
path = "tests/macros.rs"

[[test]]
name = "point_smoke"
path = "tests/point_smoke.rs"

[[test]]
name = "serde_round_trip"
path = "tests/serde_round_trip.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"

[dependencies.geometry-trait]
version = "0.0.8"
default-features = false

[dependencies.serde]
version = "1"
features = [
    "derive",
    "alloc",
]
optional = true
default-features = false

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.trybuild]
version = "1"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"