mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
119aa452b6
Now the Element trait is designed to be wrapped in a Lifecycle enum that gets placed inside an ElementBox. This allows the framework to store data on behalf of the Element implementation, such as sizes, bounds, and also implementation-specific LayoutState and PaintState types. This makes it easier to reason about which data is available in each Element method.
37 lines
857 B
TOML
37 lines
857 B
TOML
[package]
|
|
authors = ["Nathan Sobo <nathansobo@gmail.com>"]
|
|
edition = "2018"
|
|
name = "gpui"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
async-task = {git = "https://github.com/zedit-io/async-task", rev = "341b57d6de98cdfd7b418567b8de2022ca993a6e"}
|
|
ctor = "0.1"
|
|
num_cpus = "1.13"
|
|
ordered-float = "2.1.1"
|
|
parking_lot = "0.11.1"
|
|
pathfinder_color = "0.5"
|
|
pathfinder_geometry = "0.5"
|
|
pin-project = "1.0.5"
|
|
rand = "0.8.3"
|
|
replace_with = "0.1.7"
|
|
smallvec = "1.6.1"
|
|
smol = "1.2"
|
|
tree-sitter = "0.17"
|
|
|
|
[build-dependencies]
|
|
bindgen = "0.57"
|
|
cc = "1.0.67"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
anyhow = "1"
|
|
cocoa = "0.24"
|
|
core-foundation = "0.9"
|
|
core-graphics = "0.22.2"
|
|
core-text = "19.2"
|
|
font-kit = {git = "https://github.com/zed-industries/font-kit", rev = "8eaf7a918eafa28b0a37dc759e2e0e7683fa24f1"}
|
|
foreign-types = "0.3"
|
|
log = "0.4"
|
|
metal = "0.21.0"
|
|
objc = "0.2"
|