mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
8944af7406
This pull request introduces collaboration for the assistant panel by turning `Context` into a CRDT. `ContextStore` is responsible for sending and applying operations, as well as synchronizing missed changes while the connection was lost. Contexts are shared on a per-project basis, and only the host can share them for now. Shared contexts can be accessed via the `History` tab in the assistant panel. <img width="1819" alt="image" src="https://github.com/zed-industries/zed/assets/482957/c7ae46d2-cde3-4b03-b74a-6e9b1555c154"> Please note that this doesn't implement following yet, which is scheduled for a subsequent pull request. Release Notes: - N/A
23 lines
364 B
TOML
23 lines
364 B
TOML
[package]
|
|
name = "clock"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/clock.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
test-support = ["dep:parking_lot"]
|
|
|
|
[dependencies]
|
|
chrono.workspace = true
|
|
parking_lot = { workspace = true, optional = true }
|
|
serde.workspace = true
|
|
smallvec.workspace = true
|