Cargo.toml

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