Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/holger

plugin/handler-rust-toolchain-wasm/Cargo.toml

[package]
name = "holger-handler-rust-toolchain-wasm"
version.workspace = true
edition = "2021"
authors = ["Rickard Ernst Björn Lundin <rickard@x14.se>"]
description = "The Rust-toolchain bundle handler compiled to wasm32 — ABI shim only, all logic in holger-handler-rust-toolchain"
license = "AGPL-3.0-only"
repository = "https://git.gunnar.rs/nordisk/holger"
# Not on crates.io: it is a build ARTIFACT source, loaded as bytes by
# holger-plugin-host, never linked by anything.
publish = false

[lib]
# cdylib ONLY: on wasm32-unknown-unknown this is what produces the `.wasm`
# module with the `memory` export the host reads. There is no rlib because
# nothing links this crate.
crate-type = ["cdylib"]

[dependencies]
# The ABI, including `export_package_handler!` which emits every symbol below.
holger-plugin-abi = { version = "3.0.0", path = "../abi" }
# THE REUSE EDGE: the handler itself. This crate adds no logic to it.
holger-handler-rust-toolchain = { version = "3.0.0", path = "../handler-rust-toolchain" }

[dev-dependencies]
# Host-side only: the agreement guard loads the built .wasm through the real host
# and compares it against the real linked handler. Neither is built for wasm32 —
# `cargo build --target wasm32-unknown-unknown` never touches dev-deps.
holger-plugin-host = { version = "3.0.0", path = "../host", features = ["agreement-harness"] }
holger-handler-rust-toolchain = { version = "3.0.0", path = "../handler-rust-toolchain" }
traits = { package = "holger-traits", version = "3.0.0", path = "../../traits" }