# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80.0" name = "hdf5-metno" version = "0.9.2" authors = [ "Ivan Smirnov ", "Magnus Ulimoen ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Thread-safe Rust bindings for the HDF5 library." homepage = "https://github.com/metno/hdf5-rust" readme = "README.md" keywords = ["hdf5"] categories = [ "science", "filesystem", ] license = "MIT OR Apache-2.0" repository = "https://github.com/metno/hdf5-rust" [package.metadata.docs.rs] features = [ "static", "zlib", "blosc", "lzf", "f16", "complex", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "hdf5_metno" path = "src/lib.rs" [[example]] name = "chunking" path = "examples/chunking.rs" [[example]] name = "simple" path = "examples/simple.rs" [[test]] name = "test_dataset" path = "tests/test_dataset.rs" [[test]] name = "test_datatypes" path = "tests/test_datatypes.rs" [[test]] name = "test_plist" path = "tests/test_plist.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.bitflags] version = "2.4" [dependencies.blosc-sys] version = "0.3" optional = true package = "blosc-src" [dependencies.cfg-if] version = "1.0" [dependencies.errno] version = "0.3" optional = true [dependencies.hdf5-derive] version = "0.9.0" package = "hdf5-metno-derive" [dependencies.hdf5-sys] version = "0.9.1" package = "hdf5-metno-sys" [dependencies.hdf5-types] version = "0.9.0" package = "hdf5-metno-types" [dependencies.lazy_static] version = "1.4" [dependencies.libc] version = "0.2" [dependencies.lzf-sys] version = "0.1" optional = true [dependencies.mpi-sys] version = "0.2" optional = true [dependencies.ndarray] version = ">=0.15,<=0.16" [dependencies.paste] version = "1.0" [dev-dependencies.half] version = "2.2" default-features = false [dev-dependencies.num-complex] version = "0.4" default-features = false [dev-dependencies.parking_lot] version = "0.12.3" [dev-dependencies.paste] version = "1.0" [dev-dependencies.pretty_assertions] version = "1.4" [dev-dependencies.rand] version = "0.8" features = ["small_rng"] [dev-dependencies.regex] version = "1.10" [dev-dependencies.scopeguard] version = "1.2" [dev-dependencies.tempfile] version = "3.9" [features] blosc = ["dep:blosc-sys"] complex = ["hdf5-types/complex"] default = [] f16 = ["hdf5-types/f16"] lzf = [ "dep:lzf-sys", "dep:errno", ] mpio = [ "dep:mpi-sys", "hdf5-sys/mpio", ] static = ["hdf5-sys/static"] zlib = ["hdf5-sys/zlib"]