organic/src/bin_wasm.rs

11 lines
239 B
Rust
Raw Normal View History

2023-12-24 05:59:41 +00:00
use wasm_bindgen::prelude::wasm_bindgen;
2023-12-24 05:39:57 +00:00
2023-12-24 05:59:41 +00:00
#[wasm_bindgen]
2023-12-24 06:35:21 +00:00
pub fn parse_org(org_contents: &str) -> wasm_bindgen::JsValue {
2024-01-04 04:38:04 +00:00
organic::wasm_cli::parse_org(org_contents)
}
fn main() -> Result<(), Box<dyn std::error::Error>> {
Ok(())
}