[package]
edition = "2024"
rust-version = "1.98"
name = "tinywasm-types"
version = "0.11.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared runtime, module, and archive types for TinyWasm"
homepage = "https://tinywasm.dev"
readme = "README.md"
keywords = [
"interpreter",
"no-std",
"tinywasm",
"wasm",
"webassembly",
]
categories = [
"compilers",
"embedded",
"no-std",
"virtualization",
"wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/explodingcamera/tinywasm"
[features]
archive = [
"dep:postcard",
"dep:serde",
"portable-atomic-util?/serde",
"serde/rc",
]
debug = []
default = [
"archive",
"debug",
"std",
]
portable-atomic = ["dep:portable-atomic-util"]
std = ["serde?/std"]
[lib]
name = "tinywasm_types"
path = "src/lib.rs"
[dependencies.portable-atomic-util]
version = "0.2.8"
features = ["alloc"]
optional = true
default-features = false
[dependencies.postcard]
version = "1.1"
features = ["alloc"]
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
features = ["alloc"]
optional = true
default-features = false
[lints.cargo]
unused_dependencies = "allow"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rust_analyzer)"]