oci_wasm/
lib.rs

1mod client;
2mod component;
3mod config;
4
5pub use client::WasmClient;
6pub use component::Component;
7pub use config::{AnnotatedWasmConfig, ToConfig, WasmConfig};
8
9pub const WASM_MANIFEST_MEDIA_TYPE: &str = "application/vnd.oci.image.manifest.v1+json";
10pub const WASM_MANIFEST_CONFIG_MEDIA_TYPE: &str = "application/vnd.wasm.config.v0+json";
11pub const WASM_LAYER_MEDIA_TYPE: &str = "application/wasm";
12pub const WASM_ARCHITECTURE: &str = "wasm";
13pub const MODULE_OS: &str = "wasip1";
14pub const COMPONENT_OS: &str = "wasip2";