[package] name = "grib" description = "GRIB format parser for Rust" version.workspace = true authors.workspace = true edition.workspace = true license.workspace = true readme.workspace = true repository.workspace = true homepage.workspace = true categories.workspace = true keywords.workspace = true exclude = ["/.github", "/testdata"] [workspace] members = ["gen", "cli", "demo"] [workspace.package] version = "0.10.2" authors = ["Noritada Kobayashi "] edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/noritada/grib-rs" homepage = "https://github.com/noritada/grib-rs" categories = ["science"] keywords = ["GRIB", "weather", "meteorology"] [dependencies] chrono = "0.4.23" # `TimeZone::with_ymd_and_hms` needed num = "0.4" num_enum = "0.7" png = "0.17" proj = { version = "0.27", optional = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] openjpeg-sys = "1.0.5" # avoiding 1.0.2/1.0.4 [dev-dependencies] flate2 = "1.0" tempfile = "3" xz2 = "0.1" [build-dependencies] grib-build = { path = "gen", version = "0.4.3" } [features] gridpoints-proj = ["dep:proj"] [profile.release] strip = true lto = true codegen-units = 1