spatial-maker 0.3.2

Convert 2D images and videos to stereoscopic 3D spatial content for Apple Vision Pro using AI depth estimation
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 = "2021"
rust-version = "1.75"
name = "spatial-maker"
version = "0.3.2"
build = "build.rs"
exclude = [
    "spatial-maker-rust/",
    "test_*.jpg",
    "*.py",
    "benchmarking/",
    "samples/",
    "todos/",
    "output/",
    "checkpoints/",
    "__pycache__/",
    ".venv/",
    "scripts/",
    "research/",
    "pyproject.toml",
    "uv.lock",
    "pipeline.py",
    "CLAUDE.md",
    "COREML_IMPLEMENTATION.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convert 2D images and videos to stereoscopic 3D spatial content for Apple Vision Pro using AI depth estimation"
readme = "RUST_README.md"
keywords = [
    "spatial-video",
    "3d",
    "stereoscopic",
    "apple-vision-pro",
    "depth-estimation",
]
categories = [
    "multimedia::images",
    "computer-vision",
]
license = "MIT"
repository = "https://github.com/mrgnw/spatial-maker"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[features]
avif = ["image/avif"]
cli = ["dep:clap"]
coreml = []
default = [
    "coreml",
    "cli",
]
heic = ["dep:libheif-rs"]
jxl = ["dep:jxl-oxide"]
native-formats = [
    "avif",
    "jxl",
    "heic",
]
onnx = ["dep:ort"]

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

[[bin]]
name = "spatial-maker"
path = "src/main.rs"
required-features = ["coreml"]

[[example]]
name = "photo"
path = "examples/photo.rs"
required-features = ["onnx"]

[[example]]
name = "photo_coreml"
path = "examples/photo_coreml.rs"
required-features = ["coreml"]

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.dirs]
version = "5.0"

[dependencies.futures-util]
version = "0.3"

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

[dependencies.jxl-oxide]
version = "0.9"
optional = true

[dependencies.libheif-rs]
version = "2.1"
optional = true

[dependencies.ndarray]
version = "0.16"

[dependencies.ort]
version = "2.0.0-rc.11"
features = [
    "half",
    "download-binaries",
]
optional = true

[dependencies.reqwest]
version = "0.12"
features = ["stream"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tracing]
version = "0.1"

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