[package]
edition = "2024"
rust-version = "1.87"
name = "depthpack"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compact lossless / bounded-error codec for 16-bit depth maps with nodata (MED prediction + zstd). Pure Rust, wasm-compatible."
readme = "README.md"
keywords = [
"depth-map",
"compression",
"codec",
"pointcloud",
"wasm",
]
categories = [
"compression",
"science::geo",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/360-geo/depthpack"
[features]
default = []
zstd-c = ["dep:zstd"]
[lib]
name = "depthpack"
path = "src/lib.rs"
[[example]]
name = "gen_golden"
path = "examples/gen_golden.rs"
[[example]]
name = "roundtrip"
path = "examples/roundtrip.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[dependencies.ruzstd]
version = "0.8"
[dependencies.thiserror]
version = "2"
[dependencies.zstd]
version = "0.13"
optional = true
[dev-dependencies]
[profile.release]
lto = true