fusor-core 0.1.5

Signals, component ownership and the browser DOM runtime for fusor applications
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 = "2024"
rust-version = "1.85"
name = "fusor-core"
version = "0.1.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Signals, component ownership and the browser DOM runtime for fusor applications"
readme = "README.md"
keywords = [
    "web",
    "wasm",
    "reactive",
    "frontend",
]
categories = [
    "wasm",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/fusor-rs/fusor"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
derive = ["dep:fusor-macros"]
dom = [
    "dep:wasm-bindgen",
    "dep:web-sys",
    "derive",
    "dep:js-sys",
]
islands = [
    "dom",
    "dep:js-sys",
]
javascript = [
    "dom",
    "dep:js-sys",
    "web-sys/CustomEvent",
]

[lib]
name = "fusor"
path = "src/lib.rs"

[[example]]
name = "memo_workload"
path = "examples/memo_workload.rs"

[[test]]
name = "bind"
path = "tests/bind.rs"

[[test]]
name = "cleanup"
path = "tests/cleanup.rs"

[[test]]
name = "context"
path = "tests/context.rs"

[[test]]
name = "from_inputs"
path = "tests/from_inputs.rs"

[[test]]
name = "memo"
path = "tests/memo.rs"

[[test]]
name = "owner"
path = "tests/owner.rs"

[[test]]
name = "reactive"
path = "tests/reactive.rs"

[[test]]
name = "rendering"
path = "tests/rendering.rs"

[[test]]
name = "template"
path = "tests/template.rs"

[dependencies.fusor-macros]
version = "=0.1.5"
optional = true

[dependencies.js-sys]
version = "0.3.94"
optional = true

[dependencies.wasm-bindgen]
version = "=0.2.117"
optional = true

[dependencies.web-sys]
version = "0.3.94"
features = [
    "Window",
    "Document",
    "Element",
    "Node",
    "Event",
    "EventTarget",
    "HtmlInputElement",
    "HtmlTextAreaElement",
    "HtmlSelectElement",
    "HtmlOptionElement",
    "HtmlOptionsCollection",
    "HtmlElement",
    "HtmlTemplateElement",
    "DocumentFragment",
    "DomTokenList",
    "Text",
    "Comment",
    "CharacterData",
    "TreeWalker",
    "NodeList",
    "console",
]
optional = true

[lints.rust]
unsafe_code = "forbid"