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
25dhat = { version = "0.3", optional = true }
26env_logger = { version = "0.9", optional = true }
27etagere = "0.2"
28futures.workspace = true
29image = "0.23"
30itertools = "0.10"
31lazy_static.workspace = true
32log.workspace = true
33num_cpus = "1.13"
34ordered-float.workspace = true
35parking = "2.0.0"
36parking_lot.workspace = true
37pathfinder_color = "0.5"
38pathfinder_geometry = "0.5"
39postage.workspace = true
40rand.workspace = true
41resvg = "0.14"
42schemars = "0.8"
43seahash = "4.1"
44serde.workspace = true
45serde_derive.workspace = true
46serde_json.workspace = true
47smallvec.workspace = true
48smol.workspace = true
49time.workspace = true
50tiny-skia = "0.5"
51usvg = { version = "0.14", features = [] }
52uuid = { version = "1.1.2", features = ["v4"] }
53waker-fn = "1.1.0"
54
55[build-dependencies]
56bindgen = "0.59.2"
57cc = "1.0.67"
58
59[dev-dependencies]
60backtrace = "0.3"
61collections = { path = "../collections", features = ["test-support"] }
62dhat = "0.3"
63env_logger.workspace = true
64png = "0.16"
65simplelog = "0.9"
66
67[target.'cfg(target_os = "macos")'.dependencies]
68media = { path = "../media" }
69anyhow.workspace = true
70block = "0.1"
71cocoa = "0.24"
72core-foundation = { version = "0.9.3", features = ["with-uuid"] }
73core-graphics = "0.22.3"
74core-text = "19.2"
75font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "b2f77d56f450338aa4f7dd2f0197d8c9acb0cf18" }
76foreign-types = "0.3"
77log.workspace = true
78metal = "0.21.0"
79objc = "0.2"