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