# 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 = "message-io"
version = "0.10.2"
authors = ["lemunozm <lemunozm@gmail.com>"]
description = "Easy asynchronous network message library"
homepage = "https://github.com/lemunozm/message-io/"
readme = "README.md"
keywords = ["network", "async", "events", "non-blocking", "tcp"]
categories = ["asynchronous", "game-development", "network-programming", "rust-patterns", "web-programming::websocket"]
license = "Apache-2.0"
repository = "https://github.com/lemunozm/message-io/"
[package.metadata.docs.rs]
all-features = true

[[bench]]
name = "performance"
harness = false
[dependencies.crossbeam]
version = "0.8"

[dependencies.log]
version = "0.4"

[dependencies.mio]
version = "0.7"
features = ["os-poll"]

[dependencies.net2]
version = "0.2.34"

[dependencies.strum]
version = "0.20"
features = ["derive"]

[dependencies.tungstenite]
version = "0.13.0"
optional = true

[dependencies.url]
version = "2.2.0"
[dev-dependencies.bincode]
version = "1.3.1"

[dev-dependencies.chrono]
version = "0.4.19"

[dev-dependencies.criterion]
version = "0.3"

[dev-dependencies.fern]
version = "0.6.0"

[dev-dependencies.httparse]
version = "1.3.5"

[dev-dependencies.lazy_static]
version = "1.4.0"

[dev-dependencies.rand]
version = "0.8.3"

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

[dev-dependencies.test-case]
version = "1.1.0"

[features]
default = ["tcp", "udp", "websocket"]
tcp = ["mio/tcp"]
udp = ["mio/udp"]
websocket = ["tungstenite", "mio/tcp"]
[badges.maintenance]
status = "actively-developed"
