# 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"
name = "htg"
version = "0.3.1"
authors = ["Pedro Sánchez Martínez <pedrosanzmtz@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance SRTM elevation data library"
readme = "README.md"
keywords = [
    "srtm",
    "elevation",
    "gis",
    "geography",
    "hgt",
]
categories = [
    "science::geo",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/pedrosanzmtz/htg"

[features]
default = []
download = [
    "dep:reqwest",
    "dep:flate2",
]
geojson = ["dep:geojson"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "interpolation"
path = "examples/interpolation.rs"

[dependencies.flate2]
version = "1.0"
optional = true

[dependencies.geojson]
version = "0.24"
optional = true

[dependencies.memmap2]
version = "0.9"

[dependencies.moka]
version = "0.12"
features = ["sync"]

[dependencies.reqwest]
version = "0.12"
features = ["blocking"]
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.zip]
version = "2.2"
features = ["deflate"]
default-features = false

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