-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathCargo.toml
46 lines (40 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
[package]
name = "hdf5-sys"
build = "build.rs"
description = "Native bindings to the HDF5 library."
links = "hdf5"
readme = "README.md"
categories = ["ffi", "filesystem", "science"]
version.workspace = true
rust-version.workspace = true
authors.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
edition.workspace = true
[dependencies]
libc = { workspace = true }
mpi-sys = { workspace = true, optional = true }
libz-sys = { workspace = true, optional = true }
hdf5-src = { workspace = true, optional = true }
# Please see README for further explanation of these feature flags
[features]
default = []
mpio = ["dep:mpi-sys"]
hl = ["hdf5-src?/hl"]
threadsafe = ["hdf5-src?/threadsafe"]
zlib = ["libz-sys", "hdf5-src?/zlib"]
static = ["dep:hdf5-src"]
deprecated = ["hdf5-src?/deprecated"]
[build-dependencies]
libloading = "0.8"
regex = { workspace = true }
[target.'cfg(any(all(unix, not(target_os = "macos")), windows))'.build-dependencies]
pkg-config = "0.3"
[target.'cfg(windows)'.build-dependencies]
serde = "1.0"
serde_derive = "1.0"
winreg = { version = "0.52", features = ["serialization-serde"] }
[package.metadata.docs.rs]
features = ["static", "zlib"]