eventsource-stream2 0.3.0

A basic building block for building an Eventsource from a Stream of bytes, an updated fork of eventsource-stream.
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 = "2018"
name = "eventsource-stream2"
version = "0.3.0"
authors = [
    "Julian Popescu <jpopesculian@gmail.com>",
    "Adam Stopher <adam.stopher@protonmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A basic building block for building an Eventsource from a Stream of bytes, an updated fork of eventsource-stream."
homepage = "https://github.com/SneedSeedFeed/eventsource-stream"
documentation = "https://docs.rs/eventsource-stream2/"
readme = "README.md"
keywords = [
    "sse",
    "eventsource",
    "stream",
    "parse",
    "event",
]
categories = [
    "web-programming::http-client",
    "no-std",
    "parsing",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SneedSeedFeed/eventsource-stream"
resolver = "2"

[features]
default = ["std"]
std = [
    "futures-core/std",
    "memchr/std",
    "memchr/use_std",
]

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

[[example]]
name = "request"
path = "examples/request.rs"

[[test]]
name = "eventsource-stream"
path = "tests/eventsource-stream.rs"

[dependencies.futures-core]
version = "0.3.32"
default-features = false

[dependencies.memchr]
version = "2.8.1"
default-features = false

[dependencies.pin-project-lite]
version = "0.2.17"

[dev-dependencies.futures]
version = "0.3.32"

[dev-dependencies.http]
version = "1.4.1"

[dev-dependencies.reqwest]
version = "0.13.4"
features = ["stream"]

[dev-dependencies.tokio]
version = "1.52"
features = [
    "macros",
    "rt",
]

[dev-dependencies.url]
version = "2.5"