mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 06:59:22 +01:00
d544470d1d
Follows-up https://github.com/zed-industries/zed/pull/64862 with similar fixes: * replaces a few dependencies that are almost not used, removes unused dependencies * removed unused features * removes `test-support` dependencies from the regular tree * cleans up build scripts Despite the large diff, the changes are rather mechanical, split by commits. Result: <img width="1172" height="77" alt="image" src="https://github.com/user-attachments/assets/7d8aeb58-7cec-4246-8157-d07fc585f81f" /> Release Notes: - N/A - [GPUI] N/A
44 lines
1.0 KiB
TOML
44 lines
1.0 KiB
TOML
[package]
|
|
name = "perf"
|
|
version = "0.1.0"
|
|
publish = false
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
description = "A tool for measuring Zed test performance, with too many Clippy lints"
|
|
|
|
# Some personal lint preferences :3
|
|
[lints.rust]
|
|
missing_docs = "warn"
|
|
|
|
[lints.clippy]
|
|
needless_continue = "allow" # For a convenience macro
|
|
all = "warn"
|
|
pedantic = "warn"
|
|
style = "warn"
|
|
missing_docs_in_private_items = "warn"
|
|
as_underscore = "deny"
|
|
allow_attributes = "deny"
|
|
allow_attributes_without_reason = "deny" # This covers `expect` also, since we deny `allow`
|
|
let_underscore_must_use = "forbid"
|
|
undocumented_unsafe_blocks = "forbid"
|
|
missing_safety_doc = "forbid"
|
|
disallowed_methods = { level = "allow", priority = 1}
|
|
|
|
[features]
|
|
default = ["cli"]
|
|
cli = ["dep:serde_json"]
|
|
|
|
[dependencies]
|
|
collections.workspace = true
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true, optional = true }
|
|
|
|
[lib]
|
|
test = false
|
|
doctest = false
|
|
|
|
[[bin]]
|
|
name = "perf"
|
|
path = "src/main.rs"
|
|
required-features = ["cli"]
|