wast-encoder 0.1.0

WAST encoder supporting wasi and wit components
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::sync::Arc;

use indexmap::IndexMap;

mod display;

pub struct WasiEnumeration {
    pub name: Arc<str>,
    pub wasi_name: String,
    pub variants: IndexMap<Arc<str>, WasiEnumerationItem>,
}

pub struct WasiEnumerationItem {
    pub name: Arc<str>,
    pub wasi_name: String,
}