[package]
name = "naia-socket-shared"
version = "0.25.0"
authors = ["connorcarpenter <connorcarpenter@gmail.com>"]
workspace = "../.."
description = "Common data types shared between naia-server-socket & naia-client-socket crates"
documentation = "https://docs.rs/naia-socket-shared"
homepage = "https://github.com/naia-lib/naia"
repository = "https://github.com/naia-lib/naia"
keywords = ["webrtc", "udp", "server", "gamedev", "networking"]
categories = ["network-programming", "game-development", "wasm", "web-programming"]
license = "MIT OR Apache-2.0"
edition = "2021"

[badges]
maintenance = { status = "actively-developed" }

[features]
wbindgen = [ "wasm-bindgen", "js-sys" ]
mquad = [ ]
test_time = [ ]

[dependencies]
cfg-if = { version = "1.0" }
log = { version = "0.4" }
url = { version = "2.5" }
wasm-bindgen = { version = "0.2", optional = true }
js-sys = { version = "0.3.64", optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rand = { version = "0.8" }
