[go: up one dir, main page]

webc 5.0.0-rc.1

WebContainer implementation for wapm.io
Documentation
#![warn(unreachable_pub, elided_lifetimes_in_paths)]

#[cfg(test)]
#[macro_use]
extern crate pretty_assertions;

#[cfg(test)]
#[macro_use]
mod macros;
#[cfg(test)]
mod utils;

pub extern crate bytes;

mod detect;
pub mod metadata;
pub mod v1;
pub mod v2;
mod version;

pub type Magic = [u8; 5];

/// File identification bytes stored at the beginning of the file.
pub const MAGIC: Magic = *b"\0webc";

pub use crate::{
    detect::{detect, DetectError},
    version::Version,
};