ic-wasm 0.9.10

A library for performing Wasm transformations specific to canisters running on the Internet Computer
Documentation
#[cfg(feature = "check-endpoints")]
pub mod check_endpoints;
pub mod info;
pub mod instrumentation;
pub mod limit_resource;
pub mod metadata;
#[cfg(feature = "wasm-opt")]
pub mod optimize;
pub mod shrink;
pub mod utils;

#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("Failed on IO.")]
    IO(#[from] std::io::Error),

    #[error("Could not parse the data as WASM module. {0}")]
    WasmParse(String),

    #[error("{0}")]
    MetadataNotFound(String),
}