-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
114 lines (97 loc) · 2.43 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[package]
authors = ["Gaute Hope <[email protected]>"]
edition = "2021"
keywords = ["hdf", "async", "concurrency"]
license = "LGPL-3.0-or-later"
name = "hidefix"
repository = "https://github.com/gauteh/hidefix"
description = "Concurrent HDF5 and NetCDF4 reader (experimental)"
version = "0.12.0"
categories = [ "filesystem", "parsing", "science" ]
[lib]
name = "hidefix"
crate-type = ["rlib", "cdylib"]
[dependencies]
anyhow = "1"
async-stream = "0.3"
bincode = { version = "1", optional = true }
byte-slice-cast = "1"
byteorder = "1"
bytes = "1"
flexbuffers = { version = "2", optional = true }
futures = "0.3"
futures-core = "0.3"
futures-util = "0.3"
itertools = "0.13"
libdeflater = "1.21"
lru = "0.12"
serde_bytes = "0.11"
strength_reduce = "0.2"
zerocopy = "0.7"
libc = "0.2"
hdf5 = { package = "hdf5-metno", version = "0.9.1" }
log = "0.4"
rayon = "1.10"
ndarray = { version = "0.16", features = [ "rayon" ] }
# Remove when https://github.com/PyO3/rust-numpy/pull/439 is addressed
ndarray_0_15 = { package = "ndarray", version = "0.15", features = ["rayon"] }
pyo3 = { version = "0.21", optional = true, features = ["anyhow", "auto-initialize", "abi3-py39"] }
numpy = { version = "0.21.0", optional = true }
netcdf = { version = "0.10.4", optional = true }
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["sync", "macros", "rt-multi-thread"] }
clap = { version = "4.5.16", features = ["derive"], optional = true }
[dev-dependencies]
divan = "0.1.14"
rand = "0.8"
sled = "0.34.7"
reqwest = { version = "0.12", features = [ "blocking" ] }
flexbuffers = "2"
bincode = "1"
[profile.release]
lto = 'thin'
codegen-units = 1
debug = true
[features]
default = ["static", "netcdf"]
netcdf = ["dep:netcdf"]
static = ["hdf5/static", "hdf5/zlib", "netcdf?/static"]
python = ["dep:pyo3", "dep:numpy"]
extension-module = ["python", "pyo3/extension-module"]
unstable = []
flexbuffers = ["dep:flexbuffers"]
clap = ["dep:clap"]
bincode = ["dep:bincode"]
[[bin]]
name = "hfxlst"
required-features = ["clap"]
[[bin]]
name = "hfxidx"
required-features = ["clap"]
[[bench]]
name = "concurrency"
harness = false
[[bench]]
name = "dataset"
harness = false
[[bench]]
name = "index"
harness = false
[[bench]]
name = "large"
harness = false
[[bench]]
name = "native"
harness = false
[[bench]]
name = "norkyst"
harness = false
[[bench]]
name = "read"
harness = false
[[bench]]
name = "serialize"
harness = false
[[bench]]
name = "stream"
harness = false