1[package]
2authors = ["Nathan Sobo <nathansobo@gmail.com>"]
3edition = "2021"
4name = "gpui"
5version = "0.1.0"
6description = "A GPU-accelerated UI framework"
7
8[lib]
9path = "src/gpui.rs"
10doctest = false
11
12[features]
13test-support = ["backtrace", "dhat", "env_logger", "collections/test-support"]
14
15[dependencies]
16collections = { path = "../collections" }
17gpui_macros = { path = "../gpui_macros" }
18util = { path = "../util" }
19sum_tree = { path = "../sum_tree" }
20sqlez = { path = "../sqlez" }
21async-task = "4.0.3"
22backtrace = { version = "0.3", optional = true }
23ctor = "0.1"
24dhat = { version = "0.3", optional = true }
25env_logger = { version = "0.9", optional = true }
26etagere = "0.2"
27futures = "0.3"
28image = "0.23"
29itertools = "0.10"
30lazy_static = "1.4.0"
31log = { version = "0.4.16", features = ["kv_unstable_serde"] }
32num_cpus = "1.13"
33ordered-float = "2.1.1"
34parking = "2.0.0"
35parking_lot = "0.11.1"
36pathfinder_color = "0.5"
37pathfinder_geometry = "0.5"
38postage = { version = "0.4.1", features = ["futures-traits"] }
39rand = "0.8.3"
40resvg = "0.14"
41seahash = "4.1"
42serde = { version = "1.0", features = ["derive", "rc"] }
43serde_json = "1.0"
44smallvec = { version = "1.6", features = ["union"] }
45smol = "1.2"
46time = { version = "0.3", features = ["serde", "serde-well-known"] }
47tiny-skia = "0.5"
48usvg = "0.14"
49waker-fn = "1.1.0"
50
51[build-dependencies]
52bindgen = "0.59.2"
53cc = "1.0.67"
54
55[dev-dependencies]
56backtrace = "0.3"
57collections = { path = "../collections", features = ["test-support"] }
58dhat = "0.3"
59env_logger = "0.9"
60png = "0.16"
61simplelog = "0.9"
62
63[target.'cfg(target_os = "macos")'.dependencies]
64media = { path = "../media" }
65anyhow = "1"
66block = "0.1"
67cocoa = "0.24"
68core-foundation = "0.9.3"
69core-graphics = "0.22.3"
70core-text = "19.2"
71font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "8eaf7a918eafa28b0a37dc759e2e0e7683fa24f1" }
72foreign-types = "0.3"
73log = { version = "0.4.16", features = ["kv_unstable_serde"] }
74metal = "0.21.0"
75objc = "0.2"