Skip to main content

numcodecs_wasm_host_reproducible/
lib.rs

1//! [![CI Status]][workflow] [![MSRV]][repo] [![Latest Version]][crates.io] [![Rust Doc Crate]][docs.rs] [![Rust Doc Main]][docs]
2//!
3//! [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/numcodecs-rs/ci.yml?branch=main
4//! [workflow]: https://github.com/juntyr/numcodecs-rs/actions/workflows/ci.yml?query=branch%3Amain
5//!
6//! [MSRV]: https://img.shields.io/badge/MSRV-1.87.0-blue
7//! [repo]: https://github.com/juntyr/numcodecs-rs
8//!
9//! [Latest Version]: https://img.shields.io/crates/v/numcodecs-wasm-host-reproducible
10//! [crates.io]: https://crates.io/crates/numcodecs-wasm-host-reproducible
11//!
12//! [Rust Doc Crate]: https://img.shields.io/docsrs/numcodecs-wasm-host-reproducible
13//! [docs.rs]: https://docs.rs/numcodecs-wasm-host-reproducible/
14//!
15//! [Rust Doc Main]: https://img.shields.io/badge/docs-main-blue
16//! [docs]: https://juntyr.github.io/numcodecs-rs/numcodecs_wasm_host_reproducible
17//!
18//! Import a [`numcodecs`]-API-compatible [`DynCodec`][numcodecs::DynCodec]
19//! from a WASM component inside a reproducible and fully sandboxed WebAssembly
20//! runtime.
21
22#![allow(clippy::multiple_crate_versions)] // FIXME
23
24#[macro_use]
25extern crate log;
26
27// FIXME: idna_adapter 1.2 requires icu_normalizer and icu_properties,
28//        which need MSRV 1.88
29use ::idna_adapter as _;
30
31mod codec;
32mod engine;
33mod logging;
34mod stdio;
35mod transform;
36
37#[cfg(test)]
38mod tests;
39
40pub use codec::{ReproducibleWasmCodec, ReproducibleWasmCodecError, ReproducibleWasmCodecType};