spinta 0.1.5

Server-sent events client that works natively and on the web (WASM)
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.60"
name = "spinta"
version = "0.1.5"
authors = ["Fireyy Zhu <fireyy@gmail.com>"]
include = [
    "LICENSE-APACHE",
    "LICENSE-MIT",
    "**/*.rs",
    "Cargo.toml",
]
description = "Server-sent events client that works natively and on the web (WASM)"
homepage = "https://github.com/fireyy/spinta"
readme = "README.md"
keywords = [
    "sse",
    "eventsource",
    "portable",
    "native",
    "web",
]
categories = [
    "web-programming",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fireyy/spinta"

[[example]]
name = "demo"

[dependencies.futures]
version = "0.3.21"

[dependencies.tracing]
version = "0.1"

[dependencies.web-sys]
version = "0.3"
features = [
    "Event",
    "ErrorEvent",
    "EventSource",
    "EventSourceInit",
    "EventListener",
    "MessageEvent",
]

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

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.eventsource-client]
version = "0.11.0"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio]
version = "1.16"
features = [
    "rt",
    "sync",
]

[target."cfg(target_arch = \"wasm32\")".dependencies.js-sys]
version = "0.3"

[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
version = "0.2"

[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures]
version = "0.4"