-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
53 lines (45 loc) · 1.21 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[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", "codegen"]
[workspace.package]
version = "0.10.2"
authors = ["Noritada Kobayashi <[email protected]>"]
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.28", 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