mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-12 19:11:23 +03:00
013c9f0420
I decided to remove the GPUI APIs since `chrono` already provides this functionality, and is already been used for this purpose in other parts of the code (e.g. [here](80402a6840/crates/zed/src/main.rs (L756)
) or [here](80402a6840/crates/ui/src/utils/format_distance.rs (L258)
)) These usages end up calling the `time_format` crate, which takes in a `UtcOffset`. It's probably cleaner to rewrite the crate to take in `chrono` types, but that would require rewriting most of the code there. Release Notes: - linux: Use local time zone in chat and Git blame
85 lines
2.2 KiB
TOML
85 lines
2.2 KiB
TOML
[package]
|
|
name = "collab_ui"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/collab_ui.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
default = []
|
|
stories = ["dep:story"]
|
|
test-support = [
|
|
"call/test-support",
|
|
"client/test-support",
|
|
"collections/test-support",
|
|
"editor/test-support",
|
|
"gpui/test-support",
|
|
"project/test-support",
|
|
"settings/test-support",
|
|
"util/test-support",
|
|
"workspace/test-support",
|
|
"http/test-support",
|
|
]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
call.workspace = true
|
|
channel.workspace = true
|
|
chrono.workspace = true
|
|
client.workspace = true
|
|
collections.workspace = true
|
|
db.workspace = true
|
|
editor.workspace = true
|
|
emojis.workspace = true
|
|
futures.workspace = true
|
|
fuzzy.workspace = true
|
|
gpui.workspace = true
|
|
language.workspace = true
|
|
lazy_static.workspace = true
|
|
menu.workspace = true
|
|
notifications.workspace = true
|
|
parking_lot.workspace = true
|
|
picker.workspace = true
|
|
project.workspace = true
|
|
release_channel.workspace = true
|
|
rich_text.workspace = true
|
|
rpc.workspace = true
|
|
schemars.workspace = true
|
|
serde.workspace = true
|
|
serde_derive.workspace = true
|
|
serde_json.workspace = true
|
|
settings.workspace = true
|
|
smallvec.workspace = true
|
|
story = { workspace = true, optional = true }
|
|
theme.workspace = true
|
|
time_format.workspace = true
|
|
time.workspace = true
|
|
title_bar.workspace = true
|
|
ui.workspace = true
|
|
util.workspace = true
|
|
vcs_menu.workspace = true
|
|
workspace.workspace = true
|
|
|
|
[dev-dependencies]
|
|
call = { workspace = true, features = ["test-support"] }
|
|
client = { workspace = true, features = ["test-support"] }
|
|
collections = { workspace = true, features = ["test-support"] }
|
|
editor = { workspace = true, features = ["test-support"] }
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
notifications = { workspace = true, features = ["test-support"] }
|
|
pretty_assertions.workspace = true
|
|
project = { workspace = true, features = ["test-support"] }
|
|
rpc = { workspace = true, features = ["test-support"] }
|
|
settings = { workspace = true, features = ["test-support"] }
|
|
tree-sitter-markdown.workspace = true
|
|
util = { workspace = true, features = ["test-support"] }
|
|
http = { workspace = true, features = ["test-support"] }
|
|
workspace = { workspace = true, features = ["test-support"] }
|