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