summaryrefslogtreecommitdiff
path: root/crates/parser/Cargo.toml
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2023-12-01 14:00:46 +0100
committerHenry Gressmann <mail@henrygressmann.de>2023-12-01 14:00:46 +0100
commit871398ff821255debdbd9452e46ca55a05e8cb92 (patch)
treebac4777cf6123ff3640f4377fa33091b68d02d91 /crates/parser/Cargo.toml
parent266afb16777970b37a61889039a0a2ea1ad1f83a (diff)
feat: wip: seperate parser and types crates
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
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=[]