# 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 = "panorama-tiler"
version = "0.1.2"
authors = ["Ruurd Bijlsma <ruurd@bijlsma.dev>"]
build = false
exclude = ["img"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiling and configuration generator to convert equirectangular or cylindrical panoramas into multi-resolution cubemaps."
homepage = "https://github.com/ruurdbijlsma/panorama-tiler"
documentation = "https://docs.rs/panorama-tiler"
readme = "README.md"
keywords = [
    "panorama",
    "pannellum",
    "cubemap",
    "tiling",
    "multires",
]
categories = ["multimedia::images"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ruurdbijlsma/panorama-tiler"

[features]
default = [
    "webp",
    "metadata",
]
metadata = [
    "dep:exif",
    "dep:xmpkit",
]
webp = ["dep:webp"]

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

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

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

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

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

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

[[bench]]
name = "end_to_end_bench"
path = "benches/end_to_end_bench.rs"
harness = false

[[bench]]
name = "pano_bench"
path = "benches/pano_bench.rs"
harness = false

[dependencies.exif]
version = "0.6.1"
optional = true
package = "kamadak-exif"

[dependencies.fast_image_resize]
version = "6.0.0"
features = ["image"]

[dependencies.image]
version = "0.25.10"

[dependencies.rayon]
version = "1.12.0"

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.webp]
version = "0.3.1"
optional = true

[dependencies.xmpkit]
version = "0.1.4"
optional = true

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
