[package] name = "taffy_benchmarks" version = "0.1.0" authors = [ "Alice Cecile ", "Johnathan Kelley ", ] edition = "2021" description = "Benchmarks for the taffy crate" repository = "https://github.com/DioxusLabs/taffy" keywords = ["cross-platform", "layout", "benchmarks"] categories = ["gui", "benchmarks"] license = "MIT" [dependencies] criterion = "0.7" rand = { version = "0.9" } rand_chacha = "0.9" taffy = { path = ".." } taffy_03 = { package = "taffy", version = "0.3", optional = true } yoga = { version = "0.5.0", optional = true } ordered-float = { version = "4", optional = true } slotmap = { version = "1.0.6", optional = true } [features] yoga = ["dep:yoga", "dep:slotmap", "dep:ordered-float"] yoga-super-deep = ["yoga"] taffy03 = ["dep:taffy_03"] content_size = ["taffy/content_size"] strict_provenance = ["taffy/strict_provenance"] small = [] large = [] [[bench]] name = "tree_creation" path = "benches/tree_creation.rs" harness = false [[bench]] name = "flexbox" path = "benches/flexbox.rs" harness = false [[bench]] name = "grid" path = "benches/grid.rs" harness = false