[package] name = "clawhdf5-wasm" version.workspace = true edition.workspace = true rust-version.workspace = true description = "Read HDF5 and NetCDF-4 files in the browser: clawhdf5's reader compiled to WebAssembly" license.workspace = true repository.workspace = true keywords = ["hdf5", "netcdf", "wasm", "browser"] categories = ["wasm", "parser-implementations", "science"] # Distributed as the wasm-bindgen package built by examples/wasm-viewer/build.sh. publish = false [lib] # cdylib for wasm-bindgen; rlib so the pure-Rust core is tested natively. crate-type = ["cdylib", "rlib"] [dependencies] # No mmap (there is no file system) and no `parallel` (no threads on # wasm32-unknown-unknown). lz4 is pure Rust; zstd and szip link C and are # left out, so such datasets fail with a clear filter error. clawhdf5 = { path = "../clawhdf5", version = "2.7.0", default-features = false, features = ["lz4"] } clawhdf5-format = { path = "../clawhdf5-format", version = "2.7.0" } # Must match the wasm-bindgen CLI exactly; build.sh checks. wasm-bindgen = "0.2.129" js-sys = "0.3.106" [dev-dependencies] serde_json = "1" tempfile = { workspace = true }