eventsource-client 0.17.0

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.17.0"
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 = ["hyper"]
hyper = ["launchdarkly-sdk-transport/hyper"]
hyper-rustls-native-roots = [
    "hyper",
    "launchdarkly-sdk-transport/hyper-rustls-native-roots",
]
hyper-rustls-webpki-roots = [
    "hyper",
    "launchdarkly-sdk-transport/hyper-rustls-webpki-roots",
]
native-tls = [
    "hyper",
    "launchdarkly-sdk-transport/native-tls",
]

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

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

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.5"

[dependencies.futures]
version = "0.3.21"

[dependencies.http]
version = "1.0"

[dependencies.launchdarkly-sdk-transport]
version = "0.1.0"

[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",
]