# 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 = "manifold-rs"
version = "0.6.3"
build = "build.rs"
exclude = [
    "glm/doc/**/*",
    "glm/test/**/*",
    "manifold/docs/**/*",
    "manifold/test/**/*",
    "manifold/samples/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust wrapper for manifold"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/WilstonOreo/manifold-rs"

[features]
bevy_example = [
    "bevy",
    "bevy_panorbit_camera",
]
default = []
output = ["cgmath"]

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

[[example]]
name = "bevy"
path = "examples/bevy.rs"
required-features = ["bevy_example"]

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

[[example]]
name = "write_ply"
path = "examples/write_ply.rs"
required-features = ["output"]

[dependencies.bevy]
version = "0.16"
optional = true

[dependencies.bevy_panorbit_camera]
version = "0.26.0"
optional = true

[dependencies.cgmath]
version = "0.18.0"
optional = true

[dependencies.cxx]
version = "1.0"

[build-dependencies.cmake]
version = "0.1"

[build-dependencies.cxx-build]
version = "1.0"
