plaza_wire 0.7.1

The wire format trait shared by Plaza servers and clients. Pure serde, no async runtime.
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"
name = "plaza_wire"
version = "0.7.1"
authors = ["Excerion Sun <dev@excsn.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The wire format trait shared by Plaza servers and clients. Pure serde, no async runtime."
readme = "README.md"
keywords = [
    "serialization",
    "codec",
    "gamedev",
    "networking",
    "wasm",
]
categories = [
    "encoding",
    "network-programming",
    "game-development",
]
license = "MPL-2.0"
repository = "https://github.com/excsn/plaza"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
build = [
    "dep:syn",
    "dep:proc-macro2",
]
default = ["json"]
json = [
    "dep:serde_json",
    "serde",
]
msgpack = [
    "dep:rmp-serde",
    "serde",
]
serde = ["dep:serde"]

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

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

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

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

[[bench]]
name = "wire"
path = "benches/wire.rs"
harness = false

[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]
optional = true

[dependencies.rmp-serde]
version = "^1"
optional = true

[dependencies.serde]
version = "^1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "^1.0"
optional = true

[dependencies.syn]
version = "2"
features = ["full"]
optional = true

[dev-dependencies.criterion]
version = "^0"
features = ["html_reports"]