[package]
name = "tungstenite"
description = "Lightweight stream-based WebSocket implementation"
categories = ["web-programming:websocket", "network-programming"]
keywords = ["websocket", "io", "web"]
authors = ["Alexey Galakhov"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/snapview/tungstenite-rs"
documentation = "https://docs.rs/tungstenite/0.1.1"
repository = "https://github.com/snapview/tungstenite-rs"
version = "0.1.1"

[features]
default = ["tls"]
tls = ["native-tls"]

[dependencies]
base64 = "0.4.0"
byteorder = "1.0.0"
bytes = "0.4.1"
httparse = "1.2.1"
env_logger = "0.4.2"
log = "0.3.7"
rand = "0.3.15"
sha1 = "0.2.0"
url = "1.4.0"
utf-8 = "0.7.0"

[dependencies.native-tls]
optional = true
version = "0.1.1"

[package]
name = "tungstenite"
description = "Lightweight stream-based WebSocket implementation"
categories = ["web-programming:websocket", "network-programming"]
keywords = ["websocket", "io", "web"]
authors = ["Alexey Galakhov"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/snapview/tungstenite-rs"
documentation = "https://docs.rs/tungstenite/0.1.1"
repository = "https://github.com/snapview/tungstenite-rs"
version = "0.1.1"

[features]
default = ["tls"]
tls = ["native-tls"]

[dependencies]
base64 = "0.4.0"
byteorder = "1.0.0"
bytes = "0.4.1"
httparse = "1.2.1"
log = "0.3.7"
rand = "0.3.15"
sha1 = "0.2.0"
url = "1.4.0"
utf-8 = "0.7.0"

[dependencies.native-tls]
optional = true
version = "0.1.1"

[dev-dependencies]
env_logger = "0.4.2"

Make env_logger a dev dependency
Make env_logger a dev dependency

It is only used by the examples; libraries should only depend on the
`log` crate.
