externref 0.3.0

Low-cost reference type shims for WASM modules
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "externref"
version = "0.3.0"
authors = [
    "Alex Ostrovski <ostrovski.alex@gmail.com>",
    "Maximilian Münchow",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-cost reference type shims for WASM modules"
readme = "README.md"
keywords = [
    "externref",
    "anyref",
    "wasm",
]
categories = [
    "wasm",
    "development-tools::ffi",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/slowli/externref"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "experimental"

[features]
default = ["macro"]
macro = ["externref-macro"]
processor = [
    "std",
    "anyhow",
    "walrus",
]
std = []

[lib]
name = "externref"
path = "src/lib.rs"

[[test]]
name = "processor"
path = "tests/processor.rs"
required-features = ["processor"]

[[test]]
name = "version_match"
path = "tests/version_match.rs"

[dependencies.anyhow]
version = "1.0.104"
optional = true

[dependencies.externref-macro]
version = "=0.3.0"
optional = true

[dependencies.tracing]
version = "0.1.41"
optional = true

[dependencies.walrus]
version = "0.26.2"
optional = true

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.doc-comment]
version = "0.3.4"

[dev-dependencies.static_assertions]
version = "1.1.0"

[dev-dependencies.version-sync]
version = "0.9.4"

[dev-dependencies.wat]
version = "1.253.0"