* Implement Rc generational pointers * Clean up error handling a bit * start adding tests * Simplify a few types * Separate Rc and normal generational boxes * Add tests for rc drop and read * Move over the pointer instead of the data in ReadOnlySignal props * Fix panic on ref drop and release mode builds * final rc signal cleanup * use rc generational boxes for event handlers as well * add a regression test for read only signal cloning * merge main --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
30 lines
735 B
TOML
30 lines
735 B
TOML
[package]
|
|
name = "generational-box"
|
|
authors = ["Evan Almloff"]
|
|
version = { workspace = true }
|
|
edition = "2021"
|
|
description = "A box backed by a generational runtime"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
keywords = ["generational", "box", "memory", "allocator"]
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
parking_lot = "0.12.1"
|
|
tracing.workspace = true
|
|
|
|
[dev-dependencies]
|
|
rand = { workspace = true }
|
|
criterion = { workspace = true }
|
|
|
|
[features]
|
|
debug_borrows = []
|
|
debug_ownership = []
|
|
|
|
[[bench]]
|
|
name = "lock"
|
|
harness = false
|
|
|
|
[package.metadata.docs.rs]
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|