[package]
edition = "2021"
rust-version = "1.65"
name = "sse-parse"
version = "0.1.0"
authors = ["Justin Jones <hey.jones@icloud.com>"]
build = false
exclude = [
"fuzz/",
".github/",
"target/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Incremental, linear-time parser for Server-Sent Events byte streams, with a sans-IO core and a runtime-agnostic Stream adapter"
readme = "README.md"
keywords = [
"sse",
"server-sent-events",
"eventsource",
"parser",
"stream",
]
categories = [
"parser-implementations",
"asynchronous",
"no-std",
]
license = "MIT"
repository = "https://github.com/hey-jj/sse-parse"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std"]
std = [
"memchr/std",
"futures-core/std",
]
[lib]
name = "sse_parse"
path = "src/lib.rs"
[[test]]
name = "bom_once"
path = "tests/bom_once.rs"
[[test]]
name = "chunk_invariance"
path = "tests/chunk_invariance.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "max_buffer"
path = "tests/max_buffer.rs"
[[test]]
name = "no_panic"
path = "tests/no_panic.rs"
[[test]]
name = "perf_gate"
path = "tests/perf_gate.rs"
[[test]]
name = "regressions"
path = "tests/regressions.rs"
[[test]]
name = "stream_adapter"
path = "tests/stream_adapter.rs"
[dependencies.futures-core]
version = "0.3.31"
default-features = false
[dependencies.memchr]
version = "2.7"
default-features = false
[dependencies.pin-project-lite]
version = "0.2.13"
[dev-dependencies.proptest]
version = "1.6"
features = ["std"]
default-features = false
[dev-dependencies.serde_json]
version = "1.0.100"