cranpose-core 0.9.13

Composition runtime and reactive state for Cranpose
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"
name = "cranpose-core"
version = "0.9.13"
authors = ["Dmitry Samoylenko"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Composition runtime and reactive state for Cranpose"
homepage = "https://samoylenkodmitry.github.io/cranpose/"
readme = "README.md"
keywords = [
    "gui",
    "ui",
    "compose",
    "declarative",
    "framework",
]
categories = ["gui"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/samoylenkodmitry/cranpose"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
hot-reload = []
inspection = []
internal = []
std-hash = []
test-helpers = []

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

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

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

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

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

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

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

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

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

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

[dependencies.foldhash]
version = "0.2.0"

[dependencies.futures-task]
version = "0.3"

[dependencies.hashbrown]
version = "0.17"
features = ["inline-more"]
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.pollster]
version = "0.4.0"

[dependencies.smallvec]
version = "1.16.2"

[dependencies.thiserror]
version = "2.0.21"

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

[dev-dependencies.stats_alloc]
version = "0.1.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.event-listener]
version = "5.4.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = ["Window"]

[target.'cfg(target_vendor = "apple")'.dependencies.dispatch2]
version = "0.3"

[lints.clippy]
assigning_clones = "warn"
clone_on_copy = "deny"
cloned_instead_of_copied = "warn"
dbg_macro = "deny"
elidable_lifetime_names = "warn"
explicit_iter_loop = "warn"
ignored_unit_patterns = "warn"
manual_assert = "warn"
manual_let_else = "warn"
map_unwrap_or = "warn"
needless_raw_string_hashes = "warn"
or_fun_call = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "warn"
redundant_locals = "deny"
semicolon_if_nothing_returned = "warn"
todo = "deny"
uninlined_format_args = "warn"
unnested_or_patterns = "warn"

[lints.rust]
linker_messages = "deny"
unsafe_code = "deny"