# 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 = "2018"
name = "eventsource-client"
version = "0.10.0"
authors = ["LaunchDarkly"]
exclude = [".circleci", ".ldrelease"]
description = "Client for the Server-Sent Events protocol (aka EventSource)"
keywords = ["launchdarkly", "feature-flags", "feature-toggles", "eventsource", "server-sent-events"]
license = "Apache-2.0"
repository = "https://github.com/launchdarkly/rust-eventsource-client"

[[example]]
name = "tail"
required-features = ["rustls"]
[dependencies.futures]
version = "0.3.21"

[dependencies.hyper]
version = "0.14.17"
features = ["client", "http1", "tcp"]

[dependencies.hyper-rustls]
version = "0.22.1"
optional = true

[dependencies.hyper-timeout]
version = "0.4.1"

[dependencies.log]
version = "0.4.6"

[dependencies.pin-project]
version = "1.0.10"

[dependencies.tokio]
version = "1.17.0"
features = ["time"]
[dev-dependencies.env_logger]
version = "0.7.1"

[dev-dependencies.maplit]
version = "1.0.1"

[dev-dependencies.simplelog]
version = "0.5.3"

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

[dev-dependencies.tokio]
version = "1.2.0"
features = ["macros", "rt-multi-thread"]

[features]
default = ["rustls"]
rustls = ["hyper-rustls", "hyper/http2"]
