# 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.77"
name = "grib-reader"
version = "0.4.0"
build = false
exclude = ["tests/corpus/interop/samples/.gitkeep"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust GRIB Edition 1 and 2 decoder for weather and climate data"
homepage = "https://github.com/roteiro-gis/grib-rust"
documentation = "https://docs.rs/grib-reader"
readme = "README.md"
keywords = [
    "grib",
    "grib2",
    "weather",
    "climate",
    "decoder",
]
categories = [
    "science",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/roteiro-gis/grib-rust"

[features]
default = ["rayon"]
rayon = ["dep:rayon"]

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

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

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

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

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

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

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

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

[dependencies.grib-core]
version = "0.4.0"

[dependencies.memmap2]
version = "0.9"

[dependencies.ndarray]
version = "0.17"

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

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

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

[dev-dependencies.serde_json]
version = "1"

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