tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 231Rust 9TOML 3CSS 1345 Definitions

⎇ 837d03fde9d8a4efa0f4eaf1e8be2fd34a719a50 Cargo.toml TOML · 67 lines · 1.5 KB History raw

Prepare for 0.3.14 release (#548) 43d76566d · Nico Burns ·

1[package]
2name = "taffy"
3version = "0.3.14"
4authors = [
5    "Alice Cecile <alice.i.cecile@gmail.com>",
6    "Johnathan Kelley <jkelleyrtp@gmail.com>",
7]
8edition = "2021"
9include = ["src/**/*", "Cargo.toml", "README.md"]
10description = "A flexible UI layout library "
11repository = "https://github.com/DioxusLabs/taffy"
12keywords = ["cross-platform", "layout", "flexbox", "css-grid", "grid"]
13categories = ["gui"]
14license = "MIT"
15
16[dependencies]
17arrayvec = { version = "0.7", default-features = false }
18num-traits = { version = "0.2", default-features = false }
19rand = { version = "0.8.5", optional = true }
20serde = { version = "1.0", optional = true, features = ["serde_derive"] }
21slotmap = "1.0.6"
22grid = { version = "0.10.0", default-features = false, optional = true }
23
24[features]
25default = ["std", "grid"]
26grid = ["alloc", "dep:grid"]
27alloc = []
28std = ["num-traits/std", "grid?/std"]
29serde = ["dep:serde"]
30random = ["dep:rand"]
31yoga_benchmark = []
32debug = []
33profile = []
34
35[dev-dependencies]
36criterion = "0.4"
37rstest = "0.17.0"
38rand = "0.8.5"
39rand_chacha = "0.3.1"
40yoga = "0.4.0"
41ordered-float = "3.4.0"
42serde_json = "1.0.93"
43
44# Enable example and test-specific features
45taffy = { path = ".", features = ["random"] }
46
47[profile.release]
48lto = true
49panic = 'abort'
50
51[[bench]]
52name = "tree_creation"
53path = "benches/tree_creation.rs"
54harness = false
55
56[[bench]]
57name = "flexbox"
58path = "benches/flexbox.rs"
59harness = false
60
61[[bench]]
62name = "grid"
63path = "benches/grid.rs"
64harness = false
65
66[workspace]
67members = ["scripts/gentest", "scripts/import-yoga-tests"]