binpack-3d 0.1.0

A high-performance, deterministic 3D bin packing library written in Rust.
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 = "binpack-3d"
version = "0.1.0"
authors = ["Markus Götz <markusgoetz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance, deterministic 3D bin packing library written in Rust."
readme = "README.md"
keywords = [
    "bin-packing",
    "3d",
    "wasm",
    "algorithms",
    "logistics",
]
categories = [
    "algorithms",
    "wasm",
]
license = "MPL-2.0"
repository = "https://github.com/MythicByte/binpack-3d"

[features]
default = ["second_algorithmen"]
second_algorithmen = []

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.hashbrown]
version = "0.16.1"
features = [
    "inline-more",
    "rayon",
    "serde",
]

[dependencies.itertools]
version = "0.14.0"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.rayon]
version = "1.11.0"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

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

[dependencies.web-sys]
version = "0.3.94"
features = ["console"]

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

[dev-dependencies.insta]
version = "1.47.2"
features = ["yaml"]

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.rand]
version = "0.10.0"
features = ["chacha"]

[lints.clippy]
all = "deny"
fallible_impl_from = "deny"
fn_params_excessive_bools = "deny"
indexing_slicing = "deny"
must_use_candidate = "deny"
unneeded_field_pattern = "deny"
wildcard_enum_match_arm = "deny"

[profile.dev.package."*"]
opt-level = 3