# 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 = "2021"
name = "naia-socket-shared"
version = "0.25.0"
authors = ["connorcarpenter <connorcarpenter@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common data types shared between naia-server-socket & naia-client-socket crates"
homepage = "https://github.com/naia-lib/naia"
documentation = "https://docs.rs/naia-socket-shared"
readme = false
keywords = [
    "webrtc",
    "udp",
    "server",
    "gamedev",
    "networking",
]
categories = [
    "network-programming",
    "game-development",
    "wasm",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/naia-lib/naia"

[badges.maintenance]
status = "actively-developed"

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

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

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

[dependencies.js-sys]
version = "0.3.64"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.url]
version = "2.5"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

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