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