tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 496HTML 245JavaScript 8CSS 61214 Definiciones

⎇ 2b5366e4296fc2a5d84bfd8bc6967939a815c154 benches/Cargo.toml TOML · 39 líneas · 867 B Historia crudo

Move benchmarks into their own crate (#451) 2b5366e42 · 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.4"
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 }
22
23[features]
24yoga = ["dep:yoga", "dep:ordered-float"]
25
26[[bench]]
27name = "tree_creation"
28path = "benches/tree_creation.rs"
29harness = false
30
31[[bench]]
32name = "flexbox"
33path = "benches/flexbox.rs"
34harness = false
35
36[[bench]]
37name = "grid"
38path = "benches/grid.rs"
39harness = false