halfedge 0.2.0

A half-edge mesh data structure library for Rust: traversal, topology operations, geometry, subdivision, decimation, parameterization, geodesics, deformation, boolean operations, and more.
Documentation
# 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"
rust-version = "1.87"
name = "halfedge"
version = "0.2.0"
authors = ["nil-is-lin <nil.is.lin@gmail.com>"]
build = false
exclude = [
    "/docs",
    "/book",
    "/target",
    "/.github",
    "/.workbuddy",
    "/.codeartsdoer",
    "/.arts",
    "halfedge_comparison.md",
    "project_shortcomings_analysis.md",
    "shortcomings_progress_review.md",
    "overview.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A half-edge mesh data structure library for Rust: traversal, topology operations, geometry, subdivision, decimation, parameterization, geodesics, deformation, boolean operations, and more."
homepage = "https://github.com/nil-is-lin/halfedge"
documentation = "https://docs.rs/halfedge"
readme = "README.md"
keywords = [
    "half-edge",
    "mesh",
    "geometry",
    "3d",
    "graphics",
]
categories = [
    "data-structures",
    "graphics",
    "mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nil-is-lin/halfedge"

[features]
default = []
exact = ["dep:num-rational"]
serde = [
    "dep:serde",
    "slotmap/serde",
]
viewer = [
    "dep:engvis-core",
    "dep:engvis-renderer",
    "dep:egui",
    "dep:winit",
    "dep:glam",
]

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

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

[[example]]
name = "engvis_viewer"
path = "examples/engvis_viewer.rs"
required-features = ["viewer"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.egui]
version = "0.33"
optional = true

[dependencies.engvis-core]
version = "0.1"
optional = true

[dependencies.engvis-renderer]
version = "0.1"
optional = true

[dependencies.glam]
version = "0.30"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.num-rational]
version = "0.4"
optional = true

[dependencies.rayon]
version = "1"

[dependencies.robust]
version = "1.2"

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

[dependencies.slotmap]
version = "1.0"

[dependencies.sprs]
version = "0.11"

[dependencies.winit]
version = "0.30"
optional = true

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

[dev-dependencies.serde_json]
version = "1"