terrain-codec 0.1.0

Terrain processing utilities for 3D tile generation: seamless DEM-gradient normals, mesh helpers, and re-exports of martini-rs + quantized-mesh
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 = "terrain-codec"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terrain processing utilities for 3D tile generation: seamless DEM-gradient normals, mesh helpers, and re-exports of martini-rs + quantized-mesh"
readme = "README.md"
keywords = [
    "terrain",
    "cesium",
    "quantized-mesh",
    "normals",
    "3d-tiles",
]
categories = [
    "graphics",
    "science::geo",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/reearth/terrain-codec"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
avif = [
    "dep:image",
    "image/avif",
]
default = []
png = [
    "dep:image",
    "image/png",
]
webp = [
    "dep:image",
    "image/webp",
]

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

[dependencies.image]
version = "0.25"
optional = true
default-features = false

[dependencies.martini-rs]
version = "0.1"

[dependencies.quantized-mesh]
version = "0.1"

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

[dependencies.serde_json]
version = "1"