tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1061HTML 997Markdown 12TOML 83120 Definiciones

⎇ morphorm benches/Cargo.toml TOML · 43 líneas · 980 B Historia crudo

Refactor benchmarks (#472) 6031fa21b · Nico Burns ·

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.5"
17taffy = { path = ".." }
18rand = { version = "0.8.5" }
19rand_chacha = "0.3.1"
20yoga = { version = "0.4.0", optional = true }
21ordered-float = { version = "3.4.0", optional = true }
22slotmap = { version = "1.0.6", optional = true }
23
24[features]
25yoga = ["dep:yoga", "dep:slotmap", "dep:ordered-float"]
26yoga-super-deep = ["yoga"]
27small = []
28large = []
29
30[[bench]]
31name = "tree_creation"
32path = "benches/tree_creation.rs"
33harness = false
34
35[[bench]]
36name = "flexbox"
37path = "benches/flexbox.rs"
38harness = false
39
40[[bench]]
41name = "grid"
42path = "benches/grid.rs"
43harness = false