matchbox_protocol 0.14.0

Common interfaces between matchbox_socket and matchbox_server
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 = "matchbox_protocol"
version = "0.14.0"
authors = [
    "Johan Helsing <johanhelsing@gmail.com>",
    "Spencer C. Imbleau <spencer@imbleau.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common interfaces between matchbox_socket and matchbox_server"
homepage = "https://github.com/johanhelsing/matchbox"
readme = "README.md"
keywords = [
    "gamedev",
    "webrtc",
    "peer-to-peer",
    "networking",
    "wasm",
]
categories = [
    "network-programming",
    "game-development",
    "wasm",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/johanhelsing/matchbox"
resolver = "2"

[features]
json = ["dep:serde_json"]

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

[dependencies.cfg-if]
version = "1.0"

[dependencies.derive_more]
version = "2.0"
features = [
    "display",
    "from",
]

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

[dependencies.serde_json]
version = "1.0"
optional = true
default-features = false

[dependencies.uuid]
version = "1.4"
features = ["serde"]

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.4"
features = ["js"]