[package]
edition = "2024"
name = "cranpose-core"
version = "0.1.113"
authors = ["Dmitry Samoylenko"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core runtime for a Jetpack Compose inspired UI framework in Rust"
homepage = "https://samoylenkodmitry.github.io/cranpose/"
readme = "README.md"
keywords = [
"gui",
"ui",
"compose",
"declarative",
"framework",
]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/samoylenkodmitry/cranpose"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
internal = []
std-hash = []
test-helpers = []
[lib]
name = "cranpose_core"
path = "src/lib.rs"
[[test]]
name = "effects_and_frames"
path = "tests/effects_and_frames.rs"
[[test]]
name = "snapshot_runtime_thread_isolation"
path = "tests/snapshot_runtime_thread_isolation.rs"
[[test]]
name = "state_hooks"
path = "tests/state_hooks.rs"
[[test]]
name = "value_slot_handle_ui"
path = "tests/value_slot_handle_ui.rs"
[dependencies.ahash]
version = "0.8.12"
[dependencies.futures-task]
version = "0.3"
[dependencies.log]
version = "0.4"
[dependencies.pollster]
version = "0.4.0"
[dependencies.smallvec]
version = "1.15.1"
[dependencies.web-time]
version = "1.1"
[dev-dependencies]
[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"]
[lints.clippy]
clone_on_copy = "deny"
dbg_macro = "deny"
redundant_locals = "deny"
todo = "deny"
[lints.rust]
linker_messages = "deny"
unsafe_code = "deny"