Update criterion requirement from 0.5 to 0.6 (#838)
1[package]
2name = "taffy_benchmarks"
3version = "0.1.0"
4authors = [
5 "Alice Cecile <alice.i.cecile@gmail.com>",
6 "Johnathan Kelley <jkelleyrtp@gmail.com>",
7]
8edition = "2021"
9description = "Benchmarks for the taffy crate"
10repository = "https://github.com/DioxusLabs/taffy"
11keywords = ["cross-platform", "layout", "benchmarks"]
12categories = ["gui", "benchmarks"]
13license = "MIT"
14
15[dependencies]
16criterion = "0.6"
17rand = { version = "0.9" }
18rand_chacha = "0.9"
19taffy = { path = ".." }
20taffy_03 = { package = "taffy", version = "0.3", optional = true }
21yoga = { version = "0.5.0", optional = true }
22ordered-float = { version = "4", optional = true }
23slotmap = { version = "1.0.6", optional = true }
24
25[features]
26yoga = ["dep:yoga", "dep:slotmap", "dep:ordered-float"]
27yoga-super-deep = ["yoga"]
28taffy03 = ["dep:taffy_03"]
29content_size = ["taffy/content_size"]
30strict_provenance = ["taffy/strict_provenance"]
31small = []
32large = []
33
34[[bench]]
35name = "tree_creation"
36path = "benches/tree_creation.rs"
37harness = false
38
39[[bench]]
40name = "flexbox"
41path = "benches/flexbox.rs"
42harness = false
43
44[[bench]]
45name = "grid"
46path = "benches/grid.rs"
47harness = false