2021-02-20 17:02:34 +00:00
|
|
|
[package]
|
|
|
|
name = "gpui"
|
|
|
|
version = "0.1.0"
|
2024-01-03 20:59:39 +00:00
|
|
|
edition = "2021"
|
|
|
|
authors = ["Nathan Sobo <nathan@zed.dev>"]
|
|
|
|
description = "The next version of Zed's GPU-accelerated UI framework"
|
2023-01-18 20:28:02 +00:00
|
|
|
publish = false
|
2021-02-20 17:02:34 +00:00
|
|
|
|
2024-01-03 20:59:39 +00:00
|
|
|
[features]
|
|
|
|
test-support = ["backtrace", "dhat", "env_logger", "collections/test-support", "util/test-support"]
|
|
|
|
|
2021-11-30 19:46:39 +00:00
|
|
|
[lib]
|
|
|
|
path = "src/gpui.rs"
|
2022-03-04 00:15:56 +00:00
|
|
|
doctest = false
|
2021-11-30 19:46:39 +00:00
|
|
|
|
2021-02-20 17:02:34 +00:00
|
|
|
[dependencies]
|
2022-01-24 17:45:14 +00:00
|
|
|
collections = { path = "../collections" }
|
2024-01-03 21:12:21 +00:00
|
|
|
gpui_macros = { path = "../gpui_macros" }
|
2022-03-04 21:53:40 +00:00
|
|
|
util = { path = "../util" }
|
2021-10-04 22:36:52 +00:00
|
|
|
sum_tree = { path = "../sum_tree" }
|
2024-01-04 10:39:52 +00:00
|
|
|
async-task = "4.7"
|
2022-03-01 16:01:52 +00:00
|
|
|
backtrace = { version = "0.3", optional = true }
|
2023-04-25 00:41:55 +00:00
|
|
|
ctor.workspace = true
|
2024-01-03 20:59:39 +00:00
|
|
|
linkme = "0.3"
|
2023-08-06 18:45:31 +00:00
|
|
|
derive_more.workspace = true
|
2022-03-02 10:02:10 +00:00
|
|
|
dhat = { version = "0.3", optional = true }
|
2022-06-03 00:24:57 +00:00
|
|
|
env_logger = { version = "0.9", optional = true }
|
2021-03-23 14:15:41 +00:00
|
|
|
etagere = "0.2"
|
2023-04-25 00:41:55 +00:00
|
|
|
futures.workspace = true
|
2021-09-14 14:48:44 +00:00
|
|
|
image = "0.23"
|
2022-10-10 21:46:07 +00:00
|
|
|
itertools = "0.10"
|
2023-04-25 00:41:55 +00:00
|
|
|
lazy_static.workspace = true
|
|
|
|
log.workspace = true
|
2021-02-20 23:05:36 +00:00
|
|
|
num_cpus = "1.13"
|
2023-04-25 00:41:55 +00:00
|
|
|
ordered-float.workspace = true
|
2021-07-20 18:22:02 +00:00
|
|
|
parking = "2.0.0"
|
2023-04-25 00:41:55 +00:00
|
|
|
parking_lot.workspace = true
|
2021-02-20 17:02:34 +00:00
|
|
|
pathfinder_geometry = "0.5"
|
2023-04-25 00:41:55 +00:00
|
|
|
postage.workspace = true
|
|
|
|
rand.workspace = true
|
2023-08-18 07:03:46 +00:00
|
|
|
refineable.workspace = true
|
2021-04-06 11:44:38 +00:00
|
|
|
resvg = "0.14"
|
2021-04-13 17:03:56 +00:00
|
|
|
seahash = "4.1"
|
2023-04-25 00:41:55 +00:00
|
|
|
serde.workspace = true
|
|
|
|
serde_derive.workspace = true
|
|
|
|
serde_json.workspace = true
|
|
|
|
smallvec.workspace = true
|
|
|
|
smol.workspace = true
|
2024-01-08 12:51:38 +00:00
|
|
|
taffy = { git = "https://github.com/zed-industries/taffy", rev = "5e6c2d23e70e9f2156911d11050cb686362ba277" }
|
2023-09-06 21:22:29 +00:00
|
|
|
thiserror.workspace = true
|
2023-04-25 00:41:55 +00:00
|
|
|
time.workspace = true
|
2021-04-06 11:44:38 +00:00
|
|
|
tiny-skia = "0.5"
|
2023-05-16 22:44:16 +00:00
|
|
|
usvg = { version = "0.14", features = [] }
|
2024-01-03 20:59:39 +00:00
|
|
|
uuid = { version = "1.1.2", features = ["v4"] }
|
2021-07-20 18:22:02 +00:00
|
|
|
waker-fn = "1.1.0"
|
2024-01-03 20:59:39 +00:00
|
|
|
slotmap = "1.0.6"
|
|
|
|
schemars.workspace = true
|
|
|
|
bitflags = "2.4.0"
|
2021-02-20 23:05:36 +00:00
|
|
|
|
2021-03-24 17:20:25 +00:00
|
|
|
[dev-dependencies]
|
2022-03-01 16:01:52 +00:00
|
|
|
backtrace = "0.3"
|
2022-01-24 17:45:14 +00:00
|
|
|
collections = { path = "../collections", features = ["test-support"] }
|
2022-03-02 10:02:10 +00:00
|
|
|
dhat = "0.3"
|
2023-04-25 00:41:55 +00:00
|
|
|
env_logger.workspace = true
|
2021-03-24 17:20:25 +00:00
|
|
|
png = "0.16"
|
2021-04-02 18:42:01 +00:00
|
|
|
simplelog = "0.9"
|
2023-09-15 16:24:12 +00:00
|
|
|
util = { path = "../util", features = ["test-support"] }
|
2021-03-24 17:20:25 +00:00
|
|
|
|
2024-01-03 20:59:39 +00:00
|
|
|
[build-dependencies]
|
|
|
|
bindgen = "0.65.1"
|
|
|
|
cbindgen = "0.26.0"
|
|
|
|
|
2021-02-20 17:02:34 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2022-08-31 02:34:59 +00:00
|
|
|
media = { path = "../media" }
|
2023-04-25 00:41:55 +00:00
|
|
|
anyhow.workspace = true
|
2021-04-14 14:30:03 +00:00
|
|
|
block = "0.1"
|
2021-02-20 17:02:34 +00:00
|
|
|
cocoa = "0.24"
|
2023-01-25 19:30:03 +00:00
|
|
|
core-foundation = { version = "0.9.3", features = ["with-uuid"] }
|
2022-04-27 15:58:55 +00:00
|
|
|
core-graphics = "0.22.3"
|
2021-02-20 17:02:34 +00:00
|
|
|
core-text = "19.2"
|
2023-05-17 17:38:54 +00:00
|
|
|
font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "b2f77d56f450338aa4f7dd2f0197d8c9acb0cf18" }
|
2021-03-20 15:38:36 +00:00
|
|
|
foreign-types = "0.3"
|
2023-04-25 00:41:55 +00:00
|
|
|
log.workspace = true
|
2021-03-20 15:38:36 +00:00
|
|
|
metal = "0.21.0"
|
2021-02-20 17:02:34 +00:00
|
|
|
objc = "0.2"
|