tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 717HTML 669Markdown 12TOML 62372 Definiciones

⎇ c68f23a997f15bdc95b076a9e47bedad789521ed Cargo.toml TOML · 59 líneas · 1.4 KB Historia crudo

Swift docs (#227) c68f23a99 · dependabot[bot] ·

1[package]
2name = "taffy"
3version = "0.2.0"
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"]
29
30[dev-dependencies]
31criterion = "0.4"
32rstest = "0.15.0"
33rand = "0.8.5"
34rand_chacha = "0.3.1"
35# We need to explicitly set a version here so that cargo deny doesn't complain
36# Don't forget to update this when bumping the version of taffy!
37taffy = { path = ".", version = "0.2.0", features = ["random"] }
38
39[profile.release]
40lto = true
41panic = 'abort'
42
43[[bench]]
44name = "generated"
45path = "benches/generated/mod.rs"
46harness = false
47
48[[bench]]
49name = "complex"
50path = "benches/complex.rs"
51harness = false
52
53[[bench]]
54name = "big_tree"
55path = "benches/big_tree.rs"
56harness = false
57
58[workspace]
59members = ["scripts/gentest"]