1[package]
2name = "stretch2"
3version = "0.4.3"
4authors = ["Alice Cecile <alice.i.cecile@gmail.com>", "Johnathan Kelley <jkelleyrtp@gmail.com>"]
5edition = "2021"
6include = ["src/**/*", "Cargo.toml"]
7description = "High performance & cross-platform Flexbox implementation"
8repository = "https://github.com/DioxusLabs/stretch"
9keywords = ["ios", "android", "cross-platform", "layout", "flexbox"]
10categories = ["gui"]
11license = "MIT"
12
13[dependencies]
14arrayvec = { version = "0.7.2", default-features = false }
15hash32 = "0.2.1"
16hash32-derive = "0.1.1"
17heapless = "0.7.9"
18num-traits = { version = "0.2.14", default-features = false }
19typenum = "1.15.0"
20
21[dependencies.hashbrown]
22version = "0.12.0"
23optional = true
24
25[dependencies.serde]
26version = "1.0.132"
27features = ["serde_derive"]
28optional = true
29
30[features]
31default = ["std"]
32alloc = ["hashbrown"]
33std = ["num-traits/std"]
34serde_camel_case = ["serde"]
35serde_kebab_case = ["serde"]
36
37[dev-dependencies]
38criterion = "0.3.5"
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[workspace]
55members = ["scripts/gentest"]