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[features]
11test-support = ["backtrace", "dhat", "env_logger", "collections/test-support", "util/test-support"]
12
13[lib]
14path = "src/gpui.rs"
15doctest = false
16
17[dependencies]
18collections = { path = "../collections" }
19gpui_macros = { path = "../gpui_macros" }
20util = { path = "../util" }
21sum_tree = { path = "../sum_tree" }
22async-task = "4.7"
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"
60anyhow.workspace = true
61raw-window-handle = "0.6.0"
62
63[dev-dependencies]
64backtrace = "0.3"
65collections = { path = "../collections", features = ["test-support"] }
66dhat = "0.3"
67env_logger.workspace = true
68png = "0.16"
69simplelog = "0.9"
70util = { path = "../util", features = ["test-support"] }
71
72[build-dependencies]
73bindgen = "0.65.1"
74cbindgen = "0.26.0"
75
76[target.'cfg(target_os = "macos")'.dependencies]
77media = { path = "../media" }
78block = "0.1"
79cocoa = "0.25"
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"