# 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" name = "eventsource-client" version = "0.13.0" authors = ["LaunchDarkly"] exclude = ["CHANGELOG.md"] 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" [[example]] name = "tail" required-features = ["rustls"] [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.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", ] [features] default = ["rustls"] rustls = [ "hyper-rustls", "hyper-rustls/http2", ]