# 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"
name = "rgeometry"
version = "0.12.0"
authors = ["David Himmelstrup <lemmih@gmail.com>"]
build = false
exclude = [
    ".dockerignore",
    ".github",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-Level Computational Geometry"
homepage = "https://rgeometry.org/"
readme = "README.md"
categories = [
    "algorithms",
    "data-structures",
    "mathematics",
    "graphics",
]
license = "Unlicense"
repository = "https://github.com/rgeometry/rgeometry"
resolver = "2"

[package.metadata.docs.rs]
rustdoc-args = [
    "--html-in-header",
    "doc-header.html",
]

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

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

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

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

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

[dependencies.apfp]
version = "0.1.0"

[dependencies.array-init]
version = "2.1"

[dependencies.claims]
version = "0.8"

[dependencies.num]
version = "0.4.3"

[dependencies.num-bigint]
version = "0.4.6"

[dependencies.num-rational]
version = "0.4.2"

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

[dependencies.rand]
version = "0.9"
features = ["small_rng"]
default-features = false

[dependencies.rug]
version = "1.28"
optional = true

[dev-dependencies.criterion]
version = "0.8.1"

[dev-dependencies.proptest]
version = "1.9.0"

[dev-dependencies.test-strategy]
version = "0.4.0"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]

[profile.bench]
debug = 2

[profile.release]
overflow-checks = true

[profile.test]
overflow-checks = true
