gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5364Rust 86Markdown 12TOML 91841 Definiciones

⎇ 0.2.x Cargo.toml TOML · 60 líneas · 1.3 KB Historia crudo

Release/0.2.2 (#281) df9799325 · Nico Burns ·

1[package]
2name = "taffy"
3version = "0.2.2"
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"]
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"
22
23[features]
24default = ["std"]
25alloc = []
26std = ["num-traits/std"]
27serde = ["dep:serde"]
28random = ["dep:rand"]
29debug = []
30
31[dev-dependencies]
32criterion = "0.4"
33rstest = "0.15.0"
34rand = "0.8.5"
35rand_chacha = "0.3.1"
36
37# Enable example and test-specific features
38taffy = { path = ".", features = ["random"] }
39
40[profile.release]
41lto = true
42panic = 'abort'
43
44[[bench]]
45name = "generated"
46path = "benches/generated/mod.rs"
47harness = false
48
49[[bench]]
50name = "complex"
51path = "benches/complex.rs"
52harness = false
53
54[[bench]]
55name = "big_tree"
56path = "benches/big_tree.rs"
57harness = false
58
59[workspace]
60members = ["scripts/gentest"]