[package]
edition = "2021"
rust-version = "1.89"
name = "rust-hdf5"
version = "0.7.2"
authors = ["Sang Woo Kim"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust HDF5 library with full read/write and SWMR support"
readme = "README.md"
license = "MIT"
repository = "https://github.com/physwkim/rust-hdf5"
[features]
all_filters = [
"deflate",
"lz4",
"bzip2",
"blosc",
"zstd",
]
blosc = [
"lz4_flex",
"dep:snap",
]
bzip2 = ["dep:bzip2"]
default = [
"deflate",
"simd",
]
deflate = [
"flate2",
"dep:zlib-rs",
]
lz4 = ["lz4_flex"]
mmap = ["memmap2"]
parallel = [
"rayon",
"deflate",
]
simd = [
"dep:fearless_simd",
"dep:fearless_simd_macros",
]
threadsafe = []
zstd = ["rust-zstd"]
[lib]
name = "rust_hdf5"
path = "src/lib.rs"
[[bin]]
name = "oracle_probe"
path = "src/bin/oracle_probe.rs"
[[bin]]
name = "perf_probe"
path = "src/bin/perf_probe.rs"
[[test]]
name = "alloc_time"
path = "tests/alloc_time.rs"
[[test]]
name = "attr_creation_order_accessor"
path = "tests/attr_creation_order_accessor.rs"
[[test]]
name = "attr_order"
path = "tests/attr_order.rs"
[[test]]
name = "attr_storage_accessor"
path = "tests/attr_storage_accessor.rs"
[[test]]
name = "bad_chunk_ndims"
path = "tests/bad_chunk_ndims.rs"
[[test]]
name = "bad_compact_size"
path = "tests/bad_compact_size.rs"
[[test]]
name = "bad_filters"
path = "tests/bad_filters.rs"
[[test]]
name = "catalog_read_parity"
path = "tests/catalog_read_parity.rs"
[[test]]
name = "chunked_write_slice"
path = "tests/chunked_write_slice.rs"
[[test]]
name = "dataspace_no_max"
path = "tests/dataspace_no_max.rs"
[[test]]
name = "delete_reclamation"
path = "tests/delete_reclamation.rs"
[[test]]
name = "dimension_scales"
path = "tests/dimension_scales.rs"
[[test]]
name = "file_locking"
path = "tests/file_locking.rs"
[[test]]
name = "fill_time"
path = "tests/fill_time.rs"
[[test]]
name = "filter_nbit_scaleoffset"
path = "tests/filter_nbit_scaleoffset.rs"
[[test]]
name = "finalize_phases"
path = "tests/finalize_phases.rs"
[[test]]
name = "free_space_manager"
path = "tests/free_space_manager.rs"
[[test]]
name = "group_enumeration"
path = "tests/group_enumeration.rs"
[[test]]
name = "h5py_cross_validation"
path = "tests/h5py_cross_validation.rs"
[[test]]
name = "hard_links"
path = "tests/hard_links.rs"
[[test]]
name = "header_attr_count_accessor"
path = "tests/header_attr_count_accessor.rs"
[[test]]
name = "implicit_chunk_ownership"
path = "tests/implicit_chunk_ownership.rs"
[[test]]
name = "legacy_append"
path = "tests/legacy_append.rs"
[[test]]
name = "libver_earliest"
path = "tests/libver_earliest.rs"
[[test]]
name = "libver_v18"
path = "tests/libver_v18.rs"
[[test]]
name = "link_creation_order_accessor"
path = "tests/link_creation_order_accessor.rs"
[[test]]
name = "link_storage_accessor"
path = "tests/link_storage_accessor.rs"
[[test]]
name = "loom_concurrency"
path = "tests/loom_concurrency.rs"
[[test]]
name = "name_index"
path = "tests/name_index.rs"
[[test]]
name = "ochk_checksum"
path = "tests/ochk_checksum.rs"
[[test]]
name = "ochk_write"
path = "tests/ochk_write.rs"
[[test]]
name = "prefix_search_order"
path = "tests/prefix_search_order.rs"
[[test]]
name = "read_bounds"
path = "tests/read_bounds.rs"
[[test]]
name = "reopen_chunk_index"
path = "tests/reopen_chunk_index.rs"
[[test]]
name = "reopen_chunked_v1_btree"
path = "tests/reopen_chunked_v1_btree.rs"
[[test]]
name = "reopen_preserves_unmodelled"
path = "tests/reopen_preserves_unmodelled.rs"
[[test]]
name = "reopen_superblock_bounds"
path = "tests/reopen_superblock_bounds.rs"
[[test]]
name = "revised_references"
path = "tests/revised_references.rs"
[[test]]
name = "set_extent"
path = "tests/set_extent.rs"
[[test]]
name = "single_chunk_filtered"
path = "tests/single_chunk_filtered.rs"
[[test]]
name = "sohm"
path = "tests/sohm.rs"
[[test]]
name = "sohm_append"
path = "tests/sohm_append.rs"
[[test]]
name = "sohm_write"
path = "tests/sohm_write.rs"
[[test]]
name = "superblock_extension"
path = "tests/superblock_extension.rs"
[[test]]
name = "superblock_version"
path = "tests/superblock_version.rs"
[[test]]
name = "superblock_version_accessor"
path = "tests/superblock_version_accessor.rs"
[[test]]
name = "swmr_full_api"
path = "tests/swmr_full_api.rs"
[[test]]
name = "symbol_table_root_group"
path = "tests/symbol_table_root_group.rs"
[[test]]
name = "threadsafe_concurrent_create"
path = "tests/threadsafe_concurrent_create.rs"
[[test]]
name = "threadsafe_parallel_write"
path = "tests/threadsafe_parallel_write.rs"
[[test]]
name = "threadsafe_same_dataset_append"
path = "tests/threadsafe_same_dataset_append.rs"
[[test]]
name = "userblock"
path = "tests/userblock.rs"
[[test]]
name = "vds_late_layout"
path = "tests/vds_late_layout.rs"
[[test]]
name = "vlen_heap_hardening"
path = "tests/vlen_heap_hardening.rs"
[[test]]
name = "vlen_heap_packing"
path = "tests/vlen_heap_packing.rs"
[[bench]]
name = "io_bench"
path = "benches/io_bench.rs"
harness = false
[dependencies.bzip2]
version = "0.5"
optional = true
[dependencies.fearless_simd]
version = "1.0"
optional = true
[dependencies.fearless_simd_macros]
version = "0.1"
optional = true
[dependencies.flate2]
version = "1"
optional = true
[dependencies.lz4_flex]
version = "0.11"
optional = true
[dependencies.memmap2]
version = "0.9"
optional = true
[dependencies.rayon]
version = "1"
optional = true
[dependencies.rust-zstd]
version = "0.4.1"
optional = true
default-features = false
[dependencies.snap]
version = "1"
optional = true
[dependencies.zlib-rs]
version = "0.6"
features = ["std"]
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[target."cfg(loom)".dev-dependencies.loom]
version = "0.7"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]