microsoft-webui-wasm 0.0.21

WebAssembly bindings for WebUI framework — powers the online playground
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 = "2021"
name = "microsoft-webui-wasm"
version = "0.0.21"
authors = ["Microsoft Edge"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebAssembly bindings for WebUI framework — powers the online playground"
homepage = "https://microsoft.github.io/webui"
readme = "README.md"
keywords = [
    "webui",
    "wasm",
    "webassembly",
    "ssr",
    "rendering",
]
categories = [
    "wasm",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/microsoft/webui"

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[features]
all = [
    "handler",
    "parser",
]
default = ["all"]
handler = ["dep:microsoft-webui-handler"]
parser = [
    "dep:microsoft-webui-parser",
    "microsoft-webui-protocol/projection-manifest",
]

[lib]
name = "webui_wasm"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.js-sys]
version = "0.3.103"

[dependencies.microsoft-webui-handler]
version = "0.0.21"
optional = true

[dependencies.microsoft-webui-parser]
version = "0.0.21"
optional = true
default-features = false

[dependencies.microsoft-webui-protocol]
version = "0.0.21"

[dependencies.serde-wasm-bindgen]
version = "0.6"

[dependencies.serde_json]
version = "1.0.150"
features = ["raw_value"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.wasm-bindgen]
version = "=0.2.126"

[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"