[package]
edition = "2024"
rust-version = "1.97"
name = "autumn-plugin-markstream"
version = "0.3.0"
build = false
exclude = [
".github/",
"docs/",
"scripts/",
"tests/js/",
"CLAUDE.md",
"clippy.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Autumn plugin: markstream (streaming Markdown) with Maud, htmx and SSE."
readme = "README.md"
keywords = [
"autumn",
"markdown",
"streaming",
"htmx",
"plugin",
]
categories = ["web-programming"]
license = "Apache-2.0"
repository = "https://github.com/autumn-foundation/autumn-plugin-markstream"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
[lib]
name = "autumn_plugin_markstream"
path = "src/lib.rs"
[[example]]
name = "markstream_demo"
path = "examples/markstream_demo.rs"
[dependencies.autumn-web]
version = "0.10"
features = ["maud"]
default-features = false
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.maud]
version = "0.27"
[dependencies.serde_json]
version = "1"
[dev-dependencies.autumn-web]
version = "0.10"
features = [
"maud",
"embed-assets",
"htmx",
]
default-features = false
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
"net",
"process",
]
[lints.clippy]
expect_used = "deny"
module_name_repetitions = "allow"
panic = "deny"
redundant_pub_crate = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"