# 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"
name = "crater-rs"
version = "0.6.0"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library of solid modeling primitives and operations"
readme = "README.md"
keywords = [
    "3d",
    "solid",
    "csg",
    "constructive",
    "geometry",
]
license = "MIT"
repository = "https://gitlab.com/games1122013/crater.rs"

[package.metadata.docs.rs]
features = ["doc-images"]
rustdoc-args = [
    "--html-in-header",
    "./src/html/latex.html",
]

[package.metadata.release]
pre-release-commit-message = "chore(release): prepare for release [bot commit]"
pre-release-hook = [
    "./scripts/pre-release.sh",
    "--cliff",
    "{{version}}",
]
publish = true
push = true

[profile.bench]
debug = 2

[profile.release]
debug = 2

[lib]
name = "crater"
path = "src/lib.rs"
bench = false

[[bin]]
name = "crater"
path = "src/bin/crater.rs"

[[example]]
name = "animation"
path = "examples/csg/animation.rs"

[[example]]
name = "bvh_raycast"
path = "examples/bounding/bvh_raycast.rs"

[[example]]
name = "concentric"
path = "examples/csg/concentric.rs"

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

[[example]]
name = "heart"
path = "examples/csg/heart.rs"

[[example]]
name = "tori"
path = "examples/csg/tori.rs"

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

[dependencies.anyhow]
version = "1.0.97"

[dependencies.approx]
version = "0.5.1"

[dependencies.clap]
version = "4.5.31"
features = [
    "derive",
    "color",
]

[dependencies.dyn-clone]
version = "1.0.19"

[dependencies.embed-doc-image]
version = "0.1.4"

[dependencies.evalexpr]
version = "12.0.2"

[dependencies.gomez]
version = "0.5.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.num]
version = "0.4.3"

[dependencies.rand]
version = "0.9.0"

[dependencies.rayon]
version = "1.10.0"

[dependencies.regex]
version = "1.11.0"

[dependencies.rstest]
version = "0.25.0"

[dependencies.santiago]
version = "1.3.1"

[dependencies.seq-macro]
version = "0.3.6"

[dependencies.serde]
version = "1.0.218"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.140"

[dependencies.serde_with]
version = "3.12.0"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tracing]
version = "0.1.40"

[dependencies.vtkio]
version = "0.7.0-rc1"

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

[dev-dependencies.tracing-subscriber]
version = "0.3.18"

[features]
doc-images = []