zed/crates/gpui2/Cargo.toml

93 lines
2.5 KiB
TOML
Raw Normal View History

2023-09-19 19:19:22 +00:00
[package]
2023-10-21 14:01:47 +00:00
name = "gpui2"
2023-09-19 19:19:22 +00:00
version = "0.1.0"
edition = "2021"
2023-09-28 03:14:09 +00:00
authors = ["Nathan Sobo <nathan@zed.dev>"]
2023-09-20 02:55:13 +00:00
description = "The next version of Zed's GPU-accelerated UI framework"
publish = false
2023-09-19 19:19:22 +00:00
[features]
2023-10-21 15:52:47 +00:00
test-support = ["backtrace", "dhat", "env_logger", "collections/test-support", "util/test-support"]
2023-09-19 19:19:22 +00:00
# Suppress a panic when both GPUI1 and GPUI2 are loaded.
#
# This is used in the `theme_importer` where we need to depend on both
# GPUI1 and GPUI2 in order to convert Zed1 themes to Zed2 themes.
allow-multiple-gpui-versions = ["util/allow-multiple-gpui-versions"]
2023-09-19 19:19:22 +00:00
[lib]
2023-10-21 14:01:47 +00:00
path = "src/gpui2.rs"
2023-09-20 02:55:13 +00:00
doctest = false
2023-09-19 19:19:22 +00:00
[dependencies]
2023-09-20 02:55:13 +00:00
collections = { path = "../collections" }
2023-10-21 14:01:47 +00:00
gpui2_macros = { path = "../gpui2_macros" }
2023-09-20 02:55:13 +00:00
util = { path = "../util" }
sum_tree = { path = "../sum_tree" }
sqlez = { path = "../sqlez" }
async-task = "4.0.3"
backtrace = { version = "0.3", optional = true }
ctor.workspace = true
2023-11-16 18:32:55 +00:00
linkme = "0.3"
2023-09-19 19:19:22 +00:00
derive_more.workspace = true
2023-09-20 02:55:13 +00:00
dhat = { version = "0.3", optional = true }
env_logger = { version = "0.9", optional = true }
etagere = "0.2"
futures.workspace = true
image = "0.23"
itertools = "0.10"
lazy_static.workspace = true
2023-09-19 19:19:22 +00:00
log.workspace = true
2023-09-20 02:55:13 +00:00
num_cpus = "1.13"
ordered-float.workspace = true
parking = "2.0.0"
2023-09-19 19:19:22 +00:00
parking_lot.workspace = true
2023-09-20 16:17:29 +00:00
pathfinder_geometry = "0.5"
2023-09-20 02:55:13 +00:00
postage.workspace = true
rand.workspace = true
refineable.workspace = true
resvg = "0.14"
seahash = "4.1"
2023-09-19 19:19:22 +00:00
serde.workspace = true
2023-09-20 02:55:13 +00:00
serde_derive.workspace = true
serde_json.workspace = true
2023-09-19 19:19:22 +00:00
smallvec.workspace = true
2023-09-20 02:55:13 +00:00
smol.workspace = true
2023-11-19 04:30:33 +00:00
taffy = { git = "https://github.com/DioxusLabs/taffy", rev = "1876f72bee5e376023eaa518aa7b8a34c769bd1b" }
2023-09-20 02:55:13 +00:00
thiserror.workspace = true
time.workspace = true
tiny-skia = "0.5"
usvg = { version = "0.14", features = [] }
uuid = { version = "1.1.2", features = ["v4"] }
waker-fn = "1.1.0"
slotmap = "1.0.6"
schemars.workspace = true
2023-09-27 21:35:46 +00:00
bitflags = "2.4.0"
2023-09-20 02:55:13 +00:00
[dev-dependencies]
backtrace = "0.3"
collections = { path = "../collections", features = ["test-support"] }
dhat = "0.3"
env_logger.workspace = true
png = "0.16"
simplelog = "0.9"
2023-10-05 20:42:11 +00:00
util = { path = "../util", features = ["test-support"] }
2023-09-20 02:55:13 +00:00
[build-dependencies]
bindgen = "0.65.1"
2023-09-23 15:10:33 +00:00
cbindgen = "0.26.0"
2023-09-20 02:55:13 +00:00
[target.'cfg(target_os = "macos")'.dependencies]
media = { path = "../media" }
anyhow.workspace = true
block = "0.1"
cocoa = "0.24"
core-foundation = { version = "0.9.3", features = ["with-uuid"] }
core-graphics = "0.22.3"
core-text = "19.2"
font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "b2f77d56f450338aa4f7dd2f0197d8c9acb0cf18" }
foreign-types = "0.3"
log.workspace = true
2023-09-23 15:10:33 +00:00
metal = "0.21.0"
2023-09-20 02:55:13 +00:00
objc = "0.2"