zed/crates/theme/Cargo.toml
Marshall Bowers 8c8a5ad275
Make theme parsing more lenient (#7154)
This PR improves the theme parsing to be a bit more lenient, allowing
things like comments and trailing commas in theme files.

Release Notes:

- N/A
2024-01-31 11:05:22 -05:00

49 lines
1.3 KiB
TOML

[package]
name = "theme"
version = "0.1.0"
edition = "2021"
publish = false
license = "GPL-3.0-or-later"
[features]
default = []
stories = ["dep:itertools", "dep:story"]
test-support = [
"gpui/test-support",
"fs/test-support",
"settings/test-support"
]
[lib]
path = "src/theme.rs"
doctest = false
[dependencies]
anyhow.workspace = true
color = { path = "../color" }
derive_more.workspace = true
fs = { path = "../fs" }
futures.workspace = true
gpui = { path = "../gpui" }
indexmap = { version = "1.6.2", features = ["serde"] }
itertools = { version = "0.11.0", optional = true }
palette = { version = "0.7.3", default-features = false, features = ["std"] }
parking_lot.workspace = true
refineable.workspace = true
schemars = { workspace = true, features = ["indexmap"] }
serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
serde_json_lenient.workspace = true
serde_repr.workspace = true
settings = { path = "../settings" }
story = { path = "../story", optional = true }
toml.workspace = true
util = { path = "../util" }
uuid.workspace = true
[dev-dependencies]
fs = { path = "../fs", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] }
settings = { path = "../settings", features = ["test-support"] }