tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1311HTML 640Markdown 11TOML 63653 Definiciones

⎇ 0.4.x benches/Cargo.toml TOML · 46 líneas · 1.1 KB Historia crudo

Compute content size, padding and border for each node (#573) 64f8aa0fb · 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"
17rand = { version = "0.8.5" }
18rand_chacha = "0.3.1"
19taffy = { path = ".." }
20taffy_03 = { package = "taffy", version = "0.3", optional = true }
21yoga = { version = "0.4.0", optional = true }
22ordered-float = { version = "3.4.0", 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"]
30small = []
31large = []
32
33[[bench]]
34name = "tree_creation"
35path = "benches/tree_creation.rs"
36harness = false
37
38[[bench]]
39name = "flexbox"
40path = "benches/flexbox.rs"
41harness = false
42
43[[bench]]
44name = "grid"
45path = "benches/grid.rs"
46harness = false