mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
dc64411cca
This PR extends the `theme_importer` with the overall structure required to support importing themes from Zed1. Release Notes: - N/A
42 lines
906 B
TOML
42 lines
906 B
TOML
[package]
|
|
name = "util"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
path = "src/util.rs"
|
|
doctest = true
|
|
|
|
[features]
|
|
test-support = ["tempdir", "git2"]
|
|
|
|
# Suppress a panic when both GPUI1 and GPUI2 are loaded.
|
|
#
|
|
# This is used in the `theme_importer` where we need to depend on both
|
|
# GPUI1 and GPUI2 in order to convert Zed1 themes to Zed2 themes.
|
|
allow-multiple-gpui-versions = []
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
backtrace = "0.3"
|
|
globset.workspace = true
|
|
log.workspace = true
|
|
lazy_static.workspace = true
|
|
futures.workspace = true
|
|
isahc.workspace = true
|
|
smol.workspace = true
|
|
url = "2.2"
|
|
rand.workspace = true
|
|
rust-embed.workspace = true
|
|
tempdir = { workspace = true, optional = true }
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
git2 = { workspace = true, optional = true }
|
|
dirs = "3.0"
|
|
take-until = "0.2.0"
|
|
|
|
[dev-dependencies]
|
|
tempdir.workspace = true
|
|
git2.workspace = true
|