typwire 0.2.0

Typed data exchange for Typst plugins.
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 = "typwire"
version = "0.2.0"
authors = ["Tim Voßhenrich"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed data exchange for Typst plugins."
readme = "README.md"
keywords = [
    "typst",
    "typing",
    "wasm",
    "plugin",
]
categories = [
    "data-structures",
    "encoding",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/T1mVo/typwire"
resolver = "2"

[features]
decimal = ["dep:rust_decimal"]
json = ["dep:serde_json"]
regex = ["dep:regex-lite"]

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

[dependencies.cbor4ii]
version = "1.2.3"
features = [
    "serde1",
    "use_std",
    "half-f16",
]

[dependencies.regex-lite]
version = "0.1.9"
optional = true

[dependencies.rust_decimal]
version = "1.43.0"
features = ["std"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.151"
optional = true

[dependencies.thiserror]
version = "2.0.17"

[dependencies.typwire-macros]
version = "0.2.0"

[dependencies.wasm-minimal-protocol]
version = "0.1.0"