eventsource-client 0.16.1

Client for the Server-Sent Events protocol (aka EventSource)
Documentation
# 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"
rust-version = "1.91.0"
name = "eventsource-client"
version = "0.16.1"
authors = ["LaunchDarkly"]
build = false
exclude = ["CHANGELOG.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client for the Server-Sent Events protocol (aka EventSource)"
readme = "README.md"
keywords = [
    "launchdarkly",
    "feature-flags",
    "feature-toggles",
    "eventsource",
    "server-sent-events",
]
license = "Apache-2.0"
repository = "https://github.com/launchdarkly/rust-eventsource-client"

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

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

[[example]]
name = "tail"
path = "examples/tail.rs"
required-features = ["rustls"]

[dependencies.base64]
version = "0.22.1"

[dependencies.futures]
version = "0.3.21"

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

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

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

[dependencies.log]
version = "0.4.6"

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

[dependencies.rand]
version = "0.8.5"

[dependencies.tokio]
version = "1.17.0"
features = ["time"]

[dev-dependencies.env_logger]
version = "0.10.0"

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

[dev-dependencies.mockito]
version = "1.7.1"

[dev-dependencies.proptest]
version = "1.0.0"

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

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

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