zed/crates/gpui/Cargo.toml

99 lines
2.3 KiB
TOML
Raw Normal View History

[package]
name = "gpui"
version = "0.1.0"
edition = "2021"
authors = ["Nathan Sobo <nathan@zed.dev>"]
description = "Zed's GPU-accelerated UI framework"
publish = false
license = "Apache-2.0"
[features]
test-support = [
"backtrace",
"dhat",
"env_logger",
"collections/test-support",
"util/test-support",
]
runtime_shaders = []
[lib]
path = "src/gpui.rs"
doctest = false
[dependencies]
anyhow.workspace = true
2024-01-04 10:39:52 +00:00
async-task = "4.7"
backtrace = { version = "0.3", optional = true }
bitflags = "2.4.0"
blade = { package = "blade-graphics", version = "0.3" }
2024-01-25 05:19:46 +00:00
blade-macros = "0.2"
collections = { path = "../collections" }
ctor.workspace = true
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 }
env_logger = { version = "0.9", optional = true }
etagere = "0.2"
futures.workspace = true
gpui_macros = { path = "../gpui_macros" }
2021-09-14 14:48:44 +00:00
image = "0.23"
itertools = "0.10"
lazy_static.workspace = true
linkme = "0.3"
log.workspace = true
2021-02-20 23:05:36 +00:00
num_cpus = "1.13"
ordered-float.workspace = true
parking = "2.0.0"
parking_lot.workspace = true
pathfinder_geometry = "0.5"
postage.workspace = true
rand.workspace = true
raw-window-handle = "0.6.0"
refineable.workspace = true
2021-04-06 11:44:38 +00:00
resvg = "0.14"
schemars.workspace = true
seahash = "4.1"
serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
slotmap = "1.0.6"
smallvec.workspace = true
smol.workspace = true
sum_tree = { path = "../sum_tree" }
taffy = { git = "https://github.com/DioxusLabs/taffy", rev = "1876f72bee5e376023eaa518aa7b8a34c769bd1b" }
2023-09-06 21:22:29 +00:00
thiserror.workspace = true
time.workspace = true
2021-04-06 11:44:38 +00:00
tiny-skia = "0.5"
usvg = { version = "0.14", features = [] }
util = { path = "../util" }
uuid = { version = "1.1.2", features = ["v4"] }
waker-fn = "1.1.0"
2021-02-20 23:05:36 +00:00
[dev-dependencies]
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"
env_logger.workspace = true
png = "0.16"
simplelog = "0.9"
2023-09-15 16:24:12 +00:00
util = { path = "../util", features = ["test-support"] }
[build-dependencies]
bindgen = "0.65.1"
cbindgen = "0.26.0"
[target.'cfg(target_os = "macos")'.dependencies]
block = "0.1"
cocoa = "0.25"
2023-01-25 19:30:03 +00:00
core-foundation = { version = "0.9.3", features = ["with-uuid"] }
core-graphics = "0.22.3"
core-text = "19.2"
foreign-types = "0.3"
log.workspace = true
media = { path = "../media" }
metal = "0.21.0"
objc = "0.2"
[target.'cfg(target_os = "linux")'.dependencies]
flume = "0.11"