[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"]