mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 12:38:02 +00:00
489077befc
This is a ~small~ pure refactor that's a step toward SSH remoting. I've extracted the Project's buffer state management into a smaller, separate struct called `BufferStore`, currently in the same crate. I did this as a separate PR to reduce conflicts between main and `remoting-over-ssh`. The idea is to make use of this struct (and other smaller structs that make up `Project`) in a dedicated, simpler `HeadlessProject` type that we will use in the SSH server to model the remote end of a project. With this approach, as we develop the headless project, we can avoid adding more conditional logic to `Project` itself (which is already very complex), and actually make `Project` a bit smaller by extracting out helper objects. Release Notes: - N/A
30 lines
600 B
TOML
30 lines
600 B
TOML
[package]
|
|
description = "Shared protocol for communication between the Zed app and the zed.dev server"
|
|
edition = "2021"
|
|
name = "proto"
|
|
version = "0.1.0"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[features]
|
|
test-support = ["collections/test-support"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/proto.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
collections.workspace = true
|
|
futures.workspace = true
|
|
prost.workspace = true
|
|
serde.workspace = true
|
|
|
|
[build-dependencies]
|
|
prost-build.workspace = true
|
|
|
|
[dev-dependencies]
|
|
collections = { workspace = true, features = ["test-support"] }
|