[READ-ONLY] Mirror of https://github.com/mrgnw/spatial-maker.
0

Configure Feed

Select the types of activity you want to include in your feed.

spatial-maker / Cargo.toml
2.5 kB 104 lines
1[package] 2name = "spatial-maker" 3version = "0.5.2" 4edition = "2021" 5license = "MIT" 6description = "Convert 2D images and videos to stereoscopic 3D spatial content for Apple Vision Pro using AI depth estimation" 7keywords = ["spatial-video", "3d", "stereoscopic", "apple-vision-pro", "depth-estimation"] 8categories = ["multimedia::images", "computer-vision"] 9repository = "https://github.com/mrgnw/spatial-maker" 10readme = "RUST_README.md" 11rust-version = "1.75" 12exclude = [ 13 "spatial-maker-rust/", 14 "test_*.jpg", 15 "*.py", 16 "benchmarking/", 17 "samples/", 18 "todos/", 19 "output/", 20 "checkpoints/", 21 "__pycache__/", 22 ".venv/", 23 "scripts/", 24 "research/", 25 "pyproject.toml", 26 "uv.lock", 27 "pipeline.py", 28 "CLAUDE.md", 29 "COREML_IMPLEMENTATION.md", 30] 31 32[lib] 33name = "spatial_maker" 34path = "src/lib.rs" 35 36[[bin]] 37name = "spatial-maker" 38path = "src/main.rs" 39required-features = ["coreml"] 40 41[features] 42default = ["coreml", "cli", "jxl"] 43coreml = [] 44onnx = ["dep:ort"] 45cli = ["dep:clap", "dep:ratatui", "dep:crossterm"] 46 47# Native format decoders (optional - falls back to ffmpeg if not enabled) 48avif = ["image/avif"] 49jxl = ["dep:jxl-oxide"] 50heic = ["dep:libheif-rs"] 51native-formats = ["avif", "jxl", "heic"] 52 53[dependencies] 54image = { version = "0.25", default-features = false, features = ["jpeg", "png", "gif", "bmp", "tiff", "webp"] } 55ndarray = "0.16" 56rayon = "1" 57thiserror = "2" 58serde = { version = "1.0", features = ["derive"] } 59serde_json = "1.0" 60tokio = { version = "1.0", features = ["full"] } 61reqwest = { version = "0.12", features = ["stream", "json"] } 62futures-util = "0.3" 63dirs = "5.0" 64tracing = "0.1" 65flate2 = "1" 66tar = "0.4" 67 68# Optional: ONNX Runtime backend 69ort = { version = "2.0.0-rc.11", features = ["half", "download-binaries"], optional = true } 70 71# Optional native decoders 72jxl-oxide = { version = "0.9", optional = true } 73libheif-rs = { version = "2.1", optional = true } 74 75[dependencies.clap] 76version = "4" 77features = ["derive"] 78optional = true 79 80[dependencies.ratatui] 81version = "0.30" 82optional = true 83 84[dependencies.crossterm] 85version = "0.28" 86optional = true 87 88[dev-dependencies] 89tempfile = "3.8" 90 91[package.metadata.binstall] 92pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }.tar.gz" 93bin-dir = "{ bin }{ binary-ext }" 94pkg-fmt = "tgz" 95 96[[example]] 97name = "photo_coreml" 98path = "examples/photo_coreml.rs" 99required-features = ["coreml"] 100 101[[example]] 102name = "photo" 103path = "examples/photo.rs" 104required-features = ["onnx"]