Separate out the wasm test into its own feature/binary.

This commit is contained in:
Tom Alexander
2023-12-25 13:10:40 -05:00
parent 67e5829fd9
commit 65abaa332f
8 changed files with 53 additions and 33 deletions

12
src/bin_wasm_test.rs Normal file
View File

@@ -0,0 +1,12 @@
use wasm::wasm_parse_org;
mod error;
mod wasm;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let body = include_str!("/tmp/test.org");
let result = wasm_parse_org(body);
println!("{}", serde_json::to_string(&result)?);
Ok(())
}