1[package]
2name = "gpui2"
3version = "0.1.0"
4edition = "2021"
5authors = ["Nathan Sobo <nathan@zed.dev>"]
6description = "The next version of Zed's GPU-accelerated UI framework"
7publish = false
8
9[features]
10test-support = ["backtrace", "dhat", "env_logger", "collections/test-support", "util/test-support"]
11
12[lib]
13path = "src/gpui2.rs"
14doctest = false
15
16[dependencies]
17collections = { path = "../collections" }
18gpui2_macros = { path = "../gpui2_macros" }
19util = { path = "../util" }
20sum_tree = { path = "../sum_tree" }
21sqlez = { path = "../sqlez" }
22async-task = "4.0.3"
23backtrace = { version = "0.3", optional = true }
24ctor.workspace = true
25derive_more.workspace = true
26dhat = { version = "0.3", optional = true }
27env_logger = { version = "0.9", optional = true }
28etagere = "0.2"
29futures.workspace = true
30image = "0.23"
31itertools = "0.10"
32lazy_static.workspace = true
33log.workspace = true
34num_cpus = "1.13"
35ordered-float.workspace = true
36parking = "2.0.0"
37parking_lot.workspace = true
38pathfinder_geometry = "0.5"
39postage.workspace = true
40rand.workspace = true
41refineable.workspace = true
42resvg = "0.14"
43seahash = "4.1"
44serde.workspace = true
45serde_derive.workspace = true
46serde_json.workspace = true
47smallvec.workspace = true
48smol.workspace = true
49taffy = { git = "https://github.com/DioxusLabs/taffy", rev = "4fb530bdd71609bb1d3f76c6a8bde1ba82805d5e" }
50thiserror.workspace = true
51time.workspace = true
52tiny-skia = "0.5"
53usvg = { version = "0.14", features = [] }
54uuid = { version = "1.1.2", features = ["v4"] }
55waker-fn = "1.1.0"
56slotmap = "1.0.6"
57schemars.workspace = true
58plane-split = "0.18.0"
59bitflags = "2.4.0"
60
61[dev-dependencies]
62backtrace = "0.3"
63collections = { path = "../collections", features = ["test-support"] }
64dhat = "0.3"
65env_logger.workspace = true
66png = "0.16"
67simplelog = "0.9"
68util = { path = "../util", features = ["test-support"] }
69
70[build-dependencies]
71bindgen = "0.65.1"
72cbindgen = "0.26.0"
73
74[target.'cfg(target_os = "macos")'.dependencies]
75media = { path = "../media" }
76anyhow.workspace = true
77block = "0.1"
78cocoa = "0.24"
79core-foundation = { version = "0.9.3", features = ["with-uuid"] }
80core-graphics = "0.22.3"
81core-text = "19.2"
82font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "b2f77d56f450338aa4f7dd2f0197d8c9acb0cf18" }
83foreign-types = "0.3"
84log.workspace = true
85metal = "0.21.0"
86objc = "0.2"