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