1[package]
2authors = ["Nathan Sobo <nathansobo@gmail.com>"]
3edition = "2021"
4name = "gpui"
5version = "0.1.0"
6description = "A GPU-accelerated UI framework"
7publish = false
8
9[lib]
10path = "src/gpui.rs"
11doctest = false
12
13[features]
14test-support = ["backtrace", "dhat", "env_logger", "collections/test-support"]
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
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_color = "0.5"
39pathfinder_geometry = "0.5"
40postage.workspace = true
41rand.workspace = true
42resvg = "0.14"
43schemars = "0.8"
44seahash = "4.1"
45serde.workspace = true
46serde_derive.workspace = true
47serde_json.workspace = true
48smallvec.workspace = true
49smol.workspace = true
50time.workspace = true
51tiny-skia = "0.5"
52usvg = { version = "0.14", features = [] }
53uuid = { version = "1.1.2", features = ["v4"] }
54waker-fn = "1.1.0"
55
56[build-dependencies]
57bindgen = "0.65.1"
58cc = "1.0.67"
59
60[dev-dependencies]
61backtrace = "0.3"
62collections = { path = "../collections", features = ["test-support"] }
63dhat = "0.3"
64env_logger.workspace = true
65png = "0.16"
66simplelog = "0.9"
67
68[target.'cfg(target_os = "macos")'.dependencies]
69media = { path = "../media" }
70anyhow.workspace = true
71block = "0.1"
72cocoa = "0.24"
73core-foundation = { version = "0.9.3", features = ["with-uuid"] }
74core-graphics = "0.22.3"
75core-text = "19.2"
76font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "b2f77d56f450338aa4f7dd2f0197d8c9acb0cf18" }
77foreign-types = "0.3"
78log.workspace = true
79metal = "0.21.0"
80objc = "0.2"