57 lines
1.5 KiB
TOML
57 lines
1.5 KiB
TOML
[workspace]
|
|
members = [
|
|
"crates/app",
|
|
"crates/ui",
|
|
"crates/ui-story",
|
|
"crates/workspace",
|
|
"crates/util",
|
|
]
|
|
|
|
default-members = ["crates/app"]
|
|
resolver = "2"
|
|
|
|
[workspace.dependencies]
|
|
gpui = { git = "https://github.com/zed-industries/zed.git" }
|
|
ui = { path = "crates/ui" }
|
|
ui-story = { path = "crates/ui-story" }
|
|
workspace = { path = "crates/workspace" }
|
|
util = { path = "crates/util" }
|
|
anyhow = "1"
|
|
log = "0.4"
|
|
serde = "1.0.203"
|
|
serde_json = "1"
|
|
|
|
|
|
[workspace.lints.clippy]
|
|
dbg_macro = "deny"
|
|
todo = "deny"
|
|
|
|
# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
|
|
# warning on this rule produces a lot of noise.
|
|
single_range_in_vec_init = "allow"
|
|
|
|
# These are all of the rules that currently have violations in the Zed
|
|
# codebase.
|
|
#
|
|
# We'll want to drive this list down by either:
|
|
# 1. fixing violations of the rule and begin enforcing it
|
|
# 2. deciding we want to allow the rule permanently, at which point
|
|
# we should codify that separately above.
|
|
#
|
|
# This list shouldn't be added to; it should only get shorter.
|
|
# =============================================================================
|
|
|
|
# There are a bunch of rules currently failing in the `style` group, so
|
|
# allow all of those, for now.
|
|
style = "allow"
|
|
|
|
# Individual rules that have violations in the codebase:
|
|
almost_complete_range = "allow"
|
|
arc_with_non_send_sync = "allow"
|
|
borrowed_box = "allow"
|
|
let_underscore_future = "allow"
|
|
map_entry = "allow"
|
|
non_canonical_partial_ord_impl = "allow"
|
|
reversed_empty_ranges = "allow"
|
|
type_complexity = "allow"
|
|
module_inception = "allow"
|