[package]
edition = "2024"
rust-version = "1.85"
name = "unitype-runtime"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implementation registry, pluggable executors, and policy dispatch for unitype"
homepage = "https://types.cartercole.net"
readme = "README.md"
keywords = [
"types",
"content-addressing",
"schema",
"codegen",
"interop",
]
categories = [
"development-tools",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/CarterCole/unitype"
[features]
default = []
wasm = ["dep:wasmtime"]
[lib]
name = "unitype_runtime"
path = "src/lib.rs"
[[test]]
name = "generated_proof"
path = "tests/generated_proof.rs"
[[test]]
name = "higher_order"
path = "tests/higher_order.rs"
[[test]]
name = "polyglot"
path = "tests/polyglot.rs"
[[test]]
name = "wasm"
path = "tests/wasm.rs"
[[test]]
name = "workers"
path = "tests/workers.rs"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"process",
"io-util",
"time",
"sync",
]
[dependencies.unitype-core]
version = "0.2.0"
[dependencies.wasmtime]
version = "39"
optional = true
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.unitype-codegen]
version = "0.2.0"