[package]
edition = "2021"
rust-version = "1.77"
name = "grib-reader"
version = "0.1.2"
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.memmap2]
version = "0.9"
[dependencies.ndarray]
version = "0.17"
[dependencies.rayon]
version = "1"
optional = true
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"