[package]
name = "microsoft-webui"
description = "Programmatic API for the WebUI build-time rendering framework"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
readme = "README.md"
keywords = ["webui", "ssr", "rendering", "templates", "server-side"]
categories = ["web-programming", "template-engine"]
[lib]
name = "webui"
[features]
cli = ["microsoft-webui-parser/cli"]
[dependencies]
microsoft-webui-parser = { path = "../webui-parser", version = "3.0.3" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "3.0.3", features = ["projection-manifest"] }
microsoft-webui-handler = { path = "../webui-handler", version = "3.0.3" }
microsoft-webui-discovery = { path = "../webui-discovery", version = "3.0.3" }
microsoft-webui-tokens = { path = "../webui-tokens", version = "3.0.3" }
thiserror = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
sha2 = { workspace = true }
bytes = { workspace = true }
tokio = { workspace = true }
memchr = { workspace = true }
crossbeam-queue = { workspace = true }
crc32fast = { workspace = true }
log = { workspace = true }
rayon = { workspace = true }
[dev-dependencies]
tempfile = { workspace = true }
criterion = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
tokio-stream = { workspace = true }
actix-web = { workspace = true }
awc = { workspace = true }
futures-util = { workspace = true }
libc = { workspace = true }
microsoft-webui-handler = { path = "../webui-handler", version = "3.0.3" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "3.0.3", features = ["projection-manifest"] }
[target.'cfg(windows)'.dev-dependencies]
windows-sys = { workspace = true }
[[bench]]
name = "contact_book_bench"
harness = false
[[bench]]
name = "streaming_bench"
harness = false
[[bench]]
name = "component_assets_bench"
harness = false
[[bench]]
name = "server_request_bench"
harness = false
[[example]]
name = "streaming_resource_bench"
path = "examples/streaming_resource_bench.rs"
[[example]]
name = "streaming_e2e_ttfb_bench"
path = "examples/streaming_e2e_ttfb_bench.rs"
[lints]
workspace = true