Includes prior-session patches (carry forward so the app compiles): - crates/gpui/build.rs: cross-compile manifest fix - crates/gpui/src/platform.rs: PlatformWindow::activate_with_token trait method - crates/gpui/src/window.rs: Window::activate_with_token public API - crates/gpui_linux/src/linux/wayland/window.rs: WaylandWindow::activate_with_token + activate() keyboard-serial fix Plus the focus-serial fix: - serial.rs: SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; latest_serial_of() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
33 lines
820 B
TOML
33 lines
820 B
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"
|
|
|
|
[lib]
|
|
|
|
# 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}
|
|
|
|
[dependencies]
|
|
collections.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|