burn_trellis 0.1.0

Trellis2 integration utilities and runtime scaffolding for burn_synth
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 = "burn_trellis"
version = "0.1.0"
authors = ["mosure <mitchell@mosure.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Trellis2 integration utilities and runtime scaffolding for burn_synth"
homepage = "https://github.com/mosure/bevy_synth"
readme = "README.md"
keywords = [
    "bevy",
    "editor",
    "asset-synthesis",
    "render-pipeline",
    "gltf",
]
categories = [
    "computer-vision",
    "graphics",
    "rendering",
    "rendering::data-formats",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mosure/bevy_synth"
resolver = "2"

[features]
default = []
import = [
    "runtime-model",
    "dep:sha2",
    "dep:hex",
    "dep:burn_synth_import",
]
runtime-model = [
    "dep:burn",
    "dep:burn_flex_gmm",
    "dep:burn-store",
    "dep:memmap2",
    "dep:matrixmultiply",
]
runtime-model-wgpu = [
    "runtime-model",
    "dep:burn-wgpu",
    "burn_flex_gmm/wgpu-kernel",
]

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

[[bin]]
name = "trellis2_hook_diff"
path = "tool/trellis2_hook_diff.rs"

[[bin]]
name = "trellis2_import"
path = "tool/trellis2_import.rs"
required-features = ["import"]

[[bin]]
name = "trellis2_run"
path = "tool/trellis2_run.rs"

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

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

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

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

[dependencies.burn]
version = "0.19"
features = [
    "ndarray",
    "std",
]
optional = true
default-features = false

[dependencies.burn-store]
version = "0.19"
features = [
    "std",
    "burnpack",
    "safetensors",
]
optional = true
default-features = false

[dependencies.burn_flex_gmm]
version = "0.1.0"
optional = true

[dependencies.burn_synth_import]
version = "0.1.0"
optional = true

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.half]
version = "2.4"

[dependencies.hex]
version = "0.4"
optional = true

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.matrixmultiply]
version = "0.3"
optional = true

[dependencies.memmap2]
version = "0.9"
optional = true

[dependencies.safetensors]
version = "0.6"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"
optional = true

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

[dev-dependencies.tempfile]
version = "3.13"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.burn-wgpu]
version = "0.19"
features = [
    "std",
    "vulkan",
]
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.xatlas-rs]
version = "0.1.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.burn-wgpu]
version = "0.19"
features = [
    "std",
    "webgpu",
]
optional = true
default-features = false