summaryrefslogtreecommitdiff
path: root/crates/parser
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-05-22 00:20:52 +0200
committerHenry Gressmann <mail@henrygressmann.de>2024-05-22 00:20:52 +0200
commit919367200e482448d7511dc6eb6660cd61e76ef4 (patch)
tree900c0b834c16190be4be4a92a83d49c202aefa7e /crates/parser
parenteb6f7c72789177ce1ce9c9aa0d5e7468507ff18d (diff)
chore: update deps
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser')
-rw-r--r--crates/parser/Cargo.toml3
-rw-r--r--crates/parser/src/error.rs2
2 files changed, 3 insertions, 2 deletions
diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml
index 206a9ed..6d48a24 100644
--- a/crates/parser/Cargo.toml
+++ b/crates/parser/Cargo.toml
@@ -8,7 +8,7 @@ authors.workspace=true
repository.workspace=true
[dependencies]
-wasmparser={version="0.207", default-features=false, features=["validate"]}
+wasmparser={version="0.208", default-features=false, features=["validate"]}
log={version="0.4", optional=true}
tinywasm-types={version="0.7.0", path="../types", default-features=false}
@@ -16,3 +16,4 @@ tinywasm-types={version="0.7.0", path="../types", default-features=false}
default=["std", "logging"]
logging=["log"]
std=["tinywasm-types/std", "wasmparser/std"]
+nightly=[]
diff --git a/crates/parser/src/error.rs b/crates/parser/src/error.rs
index 76d806d..c32e026 100644
--- a/crates/parser/src/error.rs
+++ b/crates/parser/src/error.rs
@@ -59,7 +59,7 @@ impl Display for ParseError {
}
}
-#[cfg(any(feature = "std", all(not(feature = "std"), nightly)))]
+#[cfg(any(feature = "std", all(not(feature = "std"), feature = "nightly")))]
impl crate::std::error::Error for ParseError {}
impl From<wasmparser::BinaryReaderError> for ParseError {