tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 707HTML 660Markdown 12TOML 62344 Definiciones

⎇ c6902929ec4473f7619edae84d7d32982979c018 Cargo.toml TOML · 51 líneas · 1.3 KB Historia crudo

Update grid requirement from 0.10.0 to 0.11.0 (#535) c6902929e · dependabot[bot] ·

1[package]
2name = "taffy"
3version = "0.3.11"
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 }
19serde = { version = "1.0", optional = true, features = ["serde_derive"] }
20slotmap = { version = "1.0.6", optional = true }
21grid = { version = "0.11.0", default-features = false, optional = true }
22
23[features]
24default = ["std", "flexbox", "grid", "block_layout", "taffy_tree"]
25block_layout = []
26flexbox = []
27grid = ["alloc", "dep:grid"]
28alloc = []
29std = ["num-traits/std", "grid?/std"]
30serde = ["dep:serde"]
31debug = []
32profile = []
33taffy_tree = ["dep:slotmap"]
34
35[dev-dependencies]
36serde_json = "1.0.93"
37
38# Enable default features for tests and examples
39taffy = { path = "." }
40
41[profile.release]
42lto = true
43panic = 'abort'
44
45[[bench]]
46name = "dummy_benchmark"
47path = "benches/dummy_benchmark.rs"
48harness = false
49
50[workspace]
51members = ["scripts/gentest", "scripts/format-fixtures", "scripts/import-yoga-tests", "benches"]