summaryrefslogtreecommitdiff
path: root/crates/parser/Cargo.toml
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2023-12-06 02:08:39 +0100
committerHenry Gressmann <mail@henrygressmann.de>2023-12-06 02:08:39 +0100
commit5f928b74d20717342074bb29797c97d75120c21f (patch)
tree528390a6cdeb102e3cb1c403389221f28d914ea4 /crates/parser/Cargo.toml
parentef4dbf261d13a72931887dad8db02d53a695a810 (diff)
feat: validate module opcodes, logging feature
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/Cargo.toml')
-rw-r--r--crates/parser/Cargo.toml5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml
index e45d452..17c5557 100644
--- a/crates/parser/Cargo.toml
+++ b/crates/parser/Cargo.toml
@@ -7,9 +7,10 @@ edition="2021"
# 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}
-log="0.4"
+log={version="0.4", optional=true}
tinywasm-types={path="../types"}
[features]
-default=["std"]
+default=["std", "logging"]
+logging=["log"]
std=[]