From 919367200e482448d7511dc6eb6660cd61e76ef4 Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Wed, 22 May 2024 00:20:52 +0200 Subject: chore: update deps Signed-off-by: Henry Gressmann --- crates/parser/Cargo.toml | 3 ++- crates/parser/src/error.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/parser') 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 for ParseError { -- cgit v1.3.1