summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorHenry <mail@henrygressmann.de>2026-09-13 17:45:53 +0200
committerHenry <mail@henrygressmann.de>2026-09-13 17:45:53 +0200
commitded2780129ef8c58edfc1af51ea23be2524a15b1 (patch)
tree073aae40beb90e36c7274982f65a8a06d5b2ada3 /crates
parent0263bf19ecb2d58336c58a6146c46e6fe84f38f3 (diff)
chore: update deps, remove inline from dispatch handlers (closes #55)
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates')
-rw-r--r--crates/cli/Cargo.toml1
-rw-r--r--crates/parser/Cargo.toml1
-rw-r--r--crates/tinywasm/Cargo.toml2
-rw-r--r--crates/tinywasm/src/interpreter/executor/dispatch_become.rs2
-rw-r--r--crates/types/Cargo.toml9
5 files changed, 3 insertions, 12 deletions
diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml
index 861d349..22f1bf8 100644
--- a/crates/cli/Cargo.toml
+++ b/crates/cli/Cargo.toml
@@ -5,7 +5,6 @@ edition.workspace = true
rust-version.workspace = true
description = "Minimal command-line interface for TinyWasm"
documentation = "https://docs.rs/tinywasm-cli"
-readme = "README.md"
repository.workspace = true
license.workspace = true
keywords = ["cli", "runtime", "tinywasm", "wasm", "webassembly"]
diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml
index 7d781a4..f868beb 100644
--- a/crates/parser/Cargo.toml
+++ b/crates/parser/Cargo.toml
@@ -4,7 +4,6 @@ version.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Parser and lowering pipeline for TinyWasm"
-readme = "README.md"
repository.workspace = true
license.workspace = true
keywords.workspace = true
diff --git a/crates/tinywasm/Cargo.toml b/crates/tinywasm/Cargo.toml
index 3d78fca..15744a3 100644
--- a/crates/tinywasm/Cargo.toml
+++ b/crates/tinywasm/Cargo.toml
@@ -92,7 +92,7 @@ wat.workspace = true
default = ["full", "std"]
full = ["archive", "parallel-parser", "parser", "validate"]
-log = ["dep:log", "tinywasm-parser?/log", "tinywasm-types/log"]
+log = ["dep:log", "tinywasm-parser?/log"]
std = ["tinywasm-parser?/std", "tinywasm-types/std"]
# make stores, instances, references, and host callbacks movable across threads
diff --git a/crates/tinywasm/src/interpreter/executor/dispatch_become.rs b/crates/tinywasm/src/interpreter/executor/dispatch_become.rs
index 66cbb51..0dc8d5e 100644
--- a/crates/tinywasm/src/interpreter/executor/dispatch_become.rs
+++ b/crates/tinywasm/src/interpreter/executor/dispatch_become.rs
@@ -15,7 +15,6 @@ fn instruction_handler_mismatch() -> ! {
macro_rules! define_unbudgeted_tail_dispatch {
($executor:ident, $instr_ptr:ident, $dispatch_next:ident, $dispatch_flow:ident;
$($variant:ident $(($($arg:pat),*))? $({ $($field:ident),* })? => $body:expr),* $(,)?) => {
- #[inline(always)]
fn handler_for(instruction: &Instruction) -> UnbudgetedHandler {
use tinywasm_types::Instruction::*;
@@ -64,7 +63,6 @@ macro_rules! define_unbudgeted_tail_dispatch {
macro_rules! define_bounded_tail_dispatch {
($executor:ident, $instr_ptr:ident, $dispatch_next:ident, $dispatch_flow:ident;
$($variant:ident $(($($arg:pat),*))? $({ $($field:ident),* })? => $body:expr),* $(,)?) => {
- #[inline(always)]
fn handler_for(instruction: &Instruction) -> BoundedHandler {
use tinywasm_types::Instruction::*;
diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml
index 091bb9f..4046896 100644
--- a/crates/types/Cargo.toml
+++ b/crates/types/Cargo.toml
@@ -4,20 +4,18 @@ version.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Shared runtime, module, and archive types for TinyWasm"
-readme = "README.md"
repository.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true
[dependencies]
-log = { workspace = true, optional = true }
-portable-atomic-util = { version = "0.2.7", default-features = false, features = ["alloc"], optional = true }
+portable-atomic-util = { version = "0.2.8", default-features = false, features = ["alloc"], optional = true }
postcard = { version = "1.1", default-features = false, features = ["alloc"], optional = true }
serde = { version = "1.0", default-features = false, features = ["alloc"], optional = true }
[features]
-default = ["archive", "debug", "log", "std"]
+default = ["archive", "debug", "std"]
# support serializing and deserializing twasm archives
archive = ["dep:postcard", "dep:serde", "portable-atomic-util?/serde", "serde/rc"]
@@ -25,9 +23,6 @@ archive = ["dep:postcard", "dep:serde", "portable-atomic-util?/serde", "serde/rc
# derive Debug for runtime and module types
debug = []
-# enable integration with the log crate
-log = ["dep:log"]
-
# enable standard library support
std = ["serde?/std"]