# 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"
rust-version = "1.74"
name = "geonative-pmtiles"
version = "0.4.0"
authors = ["Zebflow <hello@zebflow.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust PMTiles v3 reader and writer (single-file tile archive with Hilbert-ordered directories) for the geonative geospatial library"
homepage = "https://geonative.zebflow.com"
readme = false
keywords = [
    "geospatial",
    "gis",
    "geo",
]
categories = ["science::geo"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/zebflow/geonative"

[features]
default = []
s3 = [
    "dep:tokio",
    "dep:object_store",
    "dep:bytes",
]

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

[[test]]
name = "external_fixtures"
path = "tests/external_fixtures.rs"

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[[test]]
name = "s3_async_pmtiles"
path = "tests/s3_async_pmtiles.rs"

[dependencies.bytes]
version = "1"
optional = true

[dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false

[dependencies.object_store]
version = "0.13"
features = ["aws"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "io-util",
    "macros",
]
optional = true

[dev-dependencies.object_store]
version = "0.13"
features = ["aws"]

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "io-util",
    "macros",
    "fs",
]
