summaryrefslogtreecommitdiff
path: root/crates/parser/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'crates/parser/Cargo.toml')
-rw-r--r--crates/parser/Cargo.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml
new file mode 100644
index 0000000..590b90c
--- /dev/null
+++ b/crates/parser/Cargo.toml
@@ -0,0 +1,15 @@
+[package]
+name="tinywasm-parser"
+version="0.0.0"
+edition="2021"
+
+[dependencies]
+# fork of wasmparser with no_std support, see https://github.com/bytecodealliance/wasmtime/issues/3495
+# TODO: create dependency free parser
+wasmparser={version="0.100", package="wasmparser-nostd", default-features=false}
+tracing={version="0.1.38", default-features=false} # logging
+tinywasm-types={path="../types"}
+
+[features]
+default=["std"]
+std=[]