[package]
edition = "2021"
rust-version = "1.85"
name = "uvunwrap"
version = "0.2.0"
build = false
include = [
"src/**",
"examples/**",
"tests/**",
"benches/**",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust automatic UV unwrapping: chart segmentation, LSCM parameterization and atlas packing (lightmap UVs, baking)"
documentation = "https://docs.rs/uvunwrap"
readme = "README.md"
keywords = [
"uv",
"unwrap",
"lightmap",
"atlas",
"parameterization",
]
categories = [
"graphics",
"rendering",
"game-development",
]
license = "MIT"
repository = "https://github.com/archonic/uvunwrap"
[features]
default = [
"parallel",
"direct-solver",
]
direct-solver = ["dep:faer"]
parallel = ["dep:rayon"]
[lib]
name = "uvunwrap"
path = "src/lib.rs"
[[example]]
name = "torus_hash"
crate-type = ["cdylib"]
path = "examples/torus_hash.rs"
[[example]]
name = "unwrap"
path = "examples/unwrap.rs"
[[test]]
name = "inputs"
path = "tests/inputs.rs"
[[test]]
name = "instances"
path = "tests/instances.rs"
[[test]]
name = "packing"
path = "tests/packing.rs"
[[test]]
name = "polygons"
path = "tests/polygons.rs"
[[test]]
name = "progress"
path = "tests/progress.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[[test]]
name = "unwrap"
path = "tests/unwrap.rs"
[[bench]]
name = "generate"
path = "benches/generate.rs"
harness = false
[dependencies.faer]
version = "0.22"
features = ["std"]
optional = true
default-features = false
[dependencies.rayon]
version = "1.10"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.rayon]
version = "1.10"
[profile.test]
opt-level = 2