1[package]
2name = "gpui"
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/gpui.rs"
14doctest = false
15
16[dependencies]
17collections = { path = "../collections" }
18gpui_macros = { path = "../gpui_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
25linkme = "0.3"
26derive_more.workspace = true
27dhat = { version = "0.3", optional = true }
28env_logger = { version = "0.9", optional = true }
29etagere = "0.2"
30futures.workspace = true
31image = "0.23"
32itertools = "0.10"
33lazy_static.workspace = true
34log.workspace = true
35num_cpus = "1.13"
36ordered-float.workspace = true
37parking = "2.0.0"
38parking_lot.workspace = true
39pathfinder_geometry = "0.5"
40postage.workspace = true
41rand.workspace = true
42refineable.workspace = true
43resvg = "0.14"
44seahash = "4.1"
45serde.workspace = true
46serde_derive.workspace = true
47serde_json.workspace = true
48smallvec.workspace = true
49smol.workspace = true
50taffy = { git = "https://github.com/DioxusLabs/taffy", rev = "1876f72bee5e376023eaa518aa7b8a34c769bd1b" }
51thiserror.workspace = true
52time.workspace = true
53tiny-skia = "0.5"
54usvg = { version = "0.14", features = [] }
55uuid = { version = "1.1.2", features = ["v4"] }
56waker-fn = "1.1.0"
57slotmap = "1.0.6"
58schemars.workspace = true
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"