depthpack 0.1.0

Compact lossless / bounded-error codec for 16-bit depth maps with nodata (MED prediction + zstd). Pure Rust, wasm-compatible.
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"
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