smudge-core 0.2.0

Widget tree, reactive bindings, layout, paint and damage tracking for the Smudge GUI library
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.89"
name = "smudge-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Widget tree, reactive bindings, layout, paint and damage tracking for the Smudge GUI library"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/QaidVoid/smudge"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "reactive"
path = "benches/reactive.rs"
harness = false

[dependencies.slotmap]
version = "1.1.1"

[dependencies.taffy]
version = "0.15.0"
features = [
    "std",
    "flexbox",
    "block_layout",
    "taffy_tree",
]
default-features = false

[dependencies.web-time]
version = "1.1.0"

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.insta]
version = "1.49.0"

[dev-dependencies.proptest]
version = "1.12.0"

[lints.clippy]
dbg_macro = "warn"
print_stdout = "warn"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"