# 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 = "manifold3d"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings to manifold3d (facade crate — re-exports manifold-csg)"
readme = "README.md"
keywords = [
    "csg",
    "geometry",
    "mesh",
    "manifold",
    "3d",
]
categories = [
    "algorithms",
    "mathematics",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/zmerlynn/manifold-csg"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "nalgebra",
    "parallel",
]

[features]
default = ["parallel"]
nalgebra = ["manifold-csg/nalgebra"]
parallel = ["manifold-csg/parallel"]

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

[dependencies.manifold-csg]
version = "=0.1.4"
default-features = false

[lints.clippy]
manual_is_multiple_of = "allow"
multiple_unsafe_ops_per_block = "deny"
undocumented_unsafe_blocks = "deny"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
