voronoid 0.0.2

3D Voronoi tessellation in Rust: a fast, feature-rich grid-based approach ready for WASM and TypeScript.
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"
name = "voronoid"
version = "0.0.2"
authors = ["Maikel de Vries <info@mdt.re>"]
build = false
exclude = [
    "www/*",
    "reference/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "3D Voronoi tessellation in Rust: a fast, feature-rich grid-based approach ready for WASM and TypeScript."
homepage = "https://mdt-re.github.io/voronoid/"
documentation = "https://docs.rs/voronoid"
readme = "README.md"
keywords = [
    "voronoi",
    "tessellation",
    "geometry",
    "visualization",
    "typescript",
]
categories = [
    "graphics",
    "visualization",
    "mathematics",
    "science",
    "wasm",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/mdt-re/voronoid"

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[package.metadata.docs.rs]
targets = ["wasm32-unknown-unknown"]
all-features = true
rustc-args = [
    "-C",
    "target-feature=+atomics,+bulk-memory",
]

[lib]
name = "voronoid"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "2d_svg"
path = "examples/2d_svg.rs"

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

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

[[example]]
name = "walls"
path = "examples/walls/main.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.getrandom]
version = "0.2"
features = ["js"]

[dependencies.js-sys]
version = "0.3"

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.10"

[dependencies.wasm-bindgen]
version = "0.2"

[dependencies.wasm-bindgen-rayon]
version = "1.2"

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

[dev-dependencies.gltf]
version = "1.4"

[dev-dependencies.plotters]
version = "0.3"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

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

[profile.release]
debug = 2