[package]
edition = "2021"
name = "microsoft-webui"
version = "3.0.3"
authors = ["Microsoft Edge"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Programmatic API for the WebUI build-time rendering framework"
homepage = "https://microsoft.github.io/webui"
readme = "README.md"
keywords = [
"webui",
"ssr",
"rendering",
"templates",
"server-side",
]
categories = [
"web-programming",
"template-engine",
]
license = "MIT"
repository = "https://github.com/microsoft/webui"
[features]
cli = ["microsoft-webui-parser/cli"]
[lib]
name = "webui"
path = "src/lib.rs"
[[example]]
name = "streaming_e2e_ttfb_bench"
path = "examples/streaming_e2e_ttfb_bench.rs"
[[example]]
name = "streaming_resource_bench"
path = "examples/streaming_resource_bench.rs"
[[test]]
name = "example_apps_hydration"
path = "tests/example_apps_hydration.rs"
[[bench]]
name = "component_assets_bench"
path = "benches/component_assets_bench.rs"
harness = false
[[bench]]
name = "contact_book_bench"
path = "benches/contact_book_bench.rs"
harness = false
[[bench]]
name = "server_request_bench"
path = "benches/server_request_bench.rs"
harness = false
[[bench]]
name = "streaming_bench"
path = "benches/streaming_bench.rs"
harness = false
[dependencies.bytes]
version = "1.12.1"
[dependencies.crc32fast]
version = "1.5.0"
[dependencies.crossbeam-queue]
version = "0.3.14"
[dependencies.log]
version = "0.4.34"
[dependencies.memchr]
version = "2.8.3"
[dependencies.microsoft-webui-discovery]
version = "3.0.3"
[dependencies.microsoft-webui-handler]
version = "3.0.3"
[dependencies.microsoft-webui-parser]
version = "3.0.3"
[dependencies.microsoft-webui-protocol]
version = "3.0.3"
features = ["projection-manifest"]
[dependencies.microsoft-webui-tokens]
version = "3.0.3"
[dependencies.rayon]
version = "1.12.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
features = ["raw_value"]
[dependencies.sha2]
version = "0.11.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.53.1"
features = ["full"]
[dev-dependencies.actix-web]
version = "4.15.0"
[dev-dependencies.awc]
version = "3.8.2"
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.futures-util]
version = "0.3.33"
[dev-dependencies.libc]
version = "0.2.189"
[dev-dependencies.microsoft-webui-handler]
version = "3.0.3"
[dev-dependencies.microsoft-webui-protocol]
version = "3.0.3"
features = ["projection-manifest"]
[dev-dependencies.serde_json]
version = "1.0.151"
features = ["raw_value"]
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1.53.1"
features = ["full"]
[dev-dependencies.tokio-stream]
version = "0.1.19"
[target."cfg(windows)".dev-dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_ProcessStatus",
"Win32_System_Threading",
]
[lints.clippy]
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_sign_loss = "deny"
inefficient_to_string = "deny"
large_enum_variant = "deny"
large_futures = "deny"
large_stack_arrays = "deny"
large_types_passed_by_value = "deny"
manual_memcpy = "deny"
naive_bytecount = "deny"
needless_collect = "deny"
rc_buffer = "deny"
redundant_clone = "deny"
unnecessary_box_returns = "deny"
unnecessary_to_owned = "deny"
vec_box = "deny"
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "deny"