# 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 = "server-sent_events" version = "0.4.0" authors = ["vkill "] description = "Server-Sent Events (SSE)" homepage = "https://github.com/bk-rs/sse-rs" documentation = "https://docs.rs/server-sent_events" readme = "README.md" keywords = [] categories = [] license = "Apache-2.0 OR MIT" repository = "https://github.com/bk-rs/sse-rs" resolver = "1" [package.metadata.docs.rs] all-features = true [package.metadata.cargo-all-features] skip_optional_dependencies = true skip_feature_sets = [ [ "_priv_test_http", "stream", ], [ "_priv_test_mime", "stream", ], ] [dependencies.async-interval] version = "0.3" features = ["stream"] optional = true default-features = false [dependencies.futures-stream-select-ext] version = "0.1" features = ["alloc"] optional = true default-features = false [dependencies.futures-util] version = "0.3" optional = true default-features = false [dependencies.http] version = "0.2" optional = true default-features = false [dependencies.mime] version = "0.3" optional = true default-features = false [dev-dependencies.async-interval] version = "0.3" features = ["impl_tokio"] default-features = false [dev-dependencies.futures-executor] version = "0.3" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", "time", ] [features] _priv_test_http = ["http"] _priv_test_mime = ["mime"] alloc = [] default = [ "std", "stream", ] std = ["alloc"] stream = [ "alloc", "futures-util", "futures-stream-select-ext", "async-interval", ]