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