forked from gauteh/hidefix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
71 lines (62 loc) · 1.71 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
[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.6.1"
categories = [ "data", "hdf5", "scientific-data" ]
[lib]
name = "hidefix"
crate-type = ["rlib", "cdylib"]
[dependencies]
anyhow = "1"
async-stream = "0.3"
bincode = "1"
byte-slice-cast = "1"
byteorder = "1"
bytes = "1"
flexbuffers = "2"
futures = "0.3"
futures-core = "0.3"
futures-util = "0.3"
itertools = "0.10"
libdeflater = "0.8"
lru = "0.7"
serde_bytes = "0.11"
strength_reduce = "0.2"
zerocopy = "0.6"
libc = "0.2"
hdf5 = "0.8"
hdf5-sys = "0.8"
hdf5-src = "0.8"
log = "0.4"
rayon = "1.6"
ndarray = { version = "0.15", features = [ "rayon" ] }
pyo3 = { version = "0.17.3", optional = true, features = ["anyhow", "auto-initialize", "abi3-py37"] }
numpy = { version = "0.17.2", optional = true }
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.tokio]
features = ["sync", "macros", "rt-multi-thread"]
version = "1"
[dev-dependencies]
rand = "0.8"
sled = "0.34.6"
[patch.crates-io]
hdf5 = { git = "https://github.com/magnusuMET/hdf5-rust", branch = "hidefix_jan_2023" }
hdf5-sys = { git = "https://github.com/magnusuMET/hdf5-rust", branch = "hidefix_jan_2023" }
hdf5-src = { git = "https://github.com/magnusuMET/hdf5-rust", branch = "hidefix_jan_2023" }
[profile.release]
lto = 'thin'
codegen-units = 1
debug = true
[features]
default = ["static", "fast-index"]
static = ["hdf5-sys/static", "hdf5-sys/zlib"]
fast-index = ["hdf5-src/1_14"]
python = ["pyo3", "numpy"]
extension-module = ["python", "pyo3/extension-module"]