# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "naia-server-socket"
version = "0.4.3"
authors = ["connorcarpenter <connorcarpenter@gmail.com>"]
description = "An abstraction to provide a common API over either a UDP socket or a service that can establish WebRTC connections"
homepage = "https://github.com/naia-rs/naia-socket"
documentation = "https://docs.rs/naia-server-socket"
readme = "../README.md"
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-rs/naia-socket"
[package.metadata.docs.rs]
features = ["use-webrtc"]
[dependencies.async-dup]
version = "1.2.2"
optional = true

[dependencies.async-io]
version = "1.1"

[dependencies.async-trait]
version = "0.1.36"

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

[dependencies.futures-channel]
version = "0.3"
features = ["sink"]

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.futures-util]
version = "0.3"
features = ["sink"]

[dependencies.http]
version = "0.2"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.naia-socket-shared]
version = "0.4.1"

[dependencies.smol]
version = "1.2.4"
optional = true

[dependencies.webrtc-unreliable]
version = "0.5.0"
optional = true

[features]
use-udp = []
use-webrtc = ["webrtc-unreliable", "smol", "async-dup", "http", "futures-core"]
[badges.maintenance]
status = "actively-developed"
