# 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 = "2021"
rust-version = "1.75"
name = "geo"
version = "0.29.3"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Geospatial primitives and algorithms"
documentation = "https://docs.rs/geo/"
readme = "README.md"
keywords = [
    "gis",
    "geo",
    "geography",
    "geospatial",
]
categories = ["science::geo"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/georust/geo"

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

[[example]]
name = "algorithm"
path = "examples/algorithm.rs"

[[example]]
name = "concavehull-usage"
path = "examples/concavehull-usage.rs"

[[example]]
name = "types"
path = "examples/types.rs"

[[bench]]
name = "area"
path = "benches/area.rs"
harness = false

[[bench]]
name = "concave_hull"
path = "benches/concave_hull.rs"
harness = false

[[bench]]
name = "contains"
path = "benches/contains.rs"
harness = false

[[bench]]
name = "convex_hull"
path = "benches/convex_hull.rs"
harness = false

[[bench]]
name = "coordinate_position"
path = "benches/coordinate_position.rs"
harness = false

[[bench]]
name = "euclidean_distance"
path = "benches/euclidean_distance.rs"
harness = false

[[bench]]
name = "extremes"
path = "benches/extremes.rs"
harness = false

[[bench]]
name = "frechet_distance"
path = "benches/frechet_distance.rs"
harness = false

[[bench]]
name = "geodesic_distance"
path = "benches/geodesic_distance.rs"
harness = false

[[bench]]
name = "intersection"
path = "benches/intersection.rs"
harness = false

[[bench]]
name = "monotone_subdiv"
path = "benches/monotone_subdiv.rs"
harness = false

[[bench]]
name = "prepared_geometry"
path = "benches/prepared_geometry.rs"
harness = false

[[bench]]
name = "rand_line_crossings"
path = "benches/rand_line_crossings.rs"
harness = false

[[bench]]
name = "relate"
path = "benches/relate.rs"
harness = false

[[bench]]
name = "rotate"
path = "benches/rotate.rs"
harness = false

[[bench]]
name = "simplify"
path = "benches/simplify.rs"
harness = false

[[bench]]
name = "simplifyvw"
path = "benches/simplifyvw.rs"
harness = false

[[bench]]
name = "stitch"
path = "benches/stitch.rs"
harness = false

[[bench]]
name = "triangulate"
path = "benches/triangulate.rs"
harness = false

[[bench]]
name = "vincenty_distance"
path = "benches/vincenty_distance.rs"
harness = false

[[bench]]
name = "winding_order"
path = "benches/winding_order.rs"
harness = false

[dependencies.earcutr]
version = "0.4.2"
optional = true

[dependencies.float_next_after]
version = "1.0.0"

[dependencies.geo-types]
version = "0.7.13"
features = [
    "approx",
    "use-rstar_0_12",
]

[dependencies.geographiclib-rs]
version = "0.2.3"
default-features = false

[dependencies.i_overlay]
version = "1.9.0, < 1.10.0"
default-features = false

[dependencies.log]
version = "0.4.11"

[dependencies.num-traits]
version = "0.2"

[dependencies.proj]
version = "0.27.0"
optional = true

[dependencies.robust]
version = "1.1.0"

[dependencies.rstar]
version = "0.12.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.spade]
version = "2.10.0"
optional = true

[dev-dependencies.approx]
version = ">= 0.4.0, < 0.6.0"

[dev-dependencies.criterion]
version = "0.4"
features = ["html_reports"]

[dev-dependencies.pretty_env_logger]
version = "0.4"

[dev-dependencies.rand]
version = "0.8.0"

[dev-dependencies.rand_distr]
version = "0.4.3"

[dev-dependencies.wkt]
version = "0.10.1"

[features]
default = [
    "earcutr",
    "spade",
    "multithreading",
]
multithreading = [
    "i_overlay/allow_multithreading",
    "geo-types/multithreading",
]
proj-network = [
    "use-proj",
    "proj/network",
]
use-proj = ["proj"]
use-serde = [
    "serde",
    "geo-types/serde",
]