# 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.81"
name = "cdshealpix"
version = "0.9.0"
authors = ["F.-X. Pineau <francois-xavier.pineau@astro.unistra.fr>"]
build = false
exclude = [
    "makeDoc.bash",
    "resources/4doc",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Rust implementation of the HEALPix tesselation.
"""
readme = "README.md"
categories = [
    "algorithms",
    "science",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/cds-astro/cds-healpix-rust/"

[package.metadata.docs.rs]
rustdoc-args = [
    "--html-in-header",
    "katex.html",
]

[features]

[lib]
name = "cdshealpix"
path = "src/lib.rs"
test = true
doctest = true
bench = true
doc = true

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

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

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1.3.3"

[dependencies.byteorder]
version = "1.5"

[dependencies.chrono]
version = "0.4"

[dependencies.colorous]
version = "1.0"

[dependencies.flate2]
version = "1.0"

[dependencies.itertools]
version = "0.14"

[dependencies.katex-doc]
version = "0.1.0"

[dependencies.log]
version = "0.4"

[dependencies.mapproj]
version = "0.4"

[dependencies.memmap2]
version = "0.9"

[dependencies.num]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.png]
version = "0.17"

[dependencies.rayon]
version = "1.10"

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

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.8"

[dev-dependencies.criterion]
version = "0.4"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.rand]
version = "0.8"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
