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>
61 lines
1.8 KiB
TOML
61 lines
1.8 KiB
TOML
[package]
|
|
name = "grammars"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/grammars.rs"
|
|
|
|
[dependencies]
|
|
language_core.workspace = true
|
|
rust-embed.workspace = true
|
|
anyhow.workspace = true
|
|
toml.workspace = true
|
|
util.workspace = true
|
|
|
|
tree-sitter = { workspace = true, optional = true }
|
|
tree-sitter-bash = { workspace = true, optional = true }
|
|
tree-sitter-c = { workspace = true, optional = true }
|
|
tree-sitter-cpp = { workspace = true, optional = true }
|
|
tree-sitter-css = { workspace = true, optional = true }
|
|
tree-sitter-diff = { workspace = true, optional = true }
|
|
tree-sitter-gitcommit = { workspace = true, optional = true }
|
|
tree-sitter-go = { workspace = true, optional = true }
|
|
tree-sitter-go-mod = { workspace = true, optional = true }
|
|
tree-sitter-gowork = { workspace = true, optional = true }
|
|
tree-sitter-jsdoc = { workspace = true, optional = true }
|
|
tree-sitter-json = { workspace = true, optional = true }
|
|
tree-sitter-md = { workspace = true, optional = true }
|
|
tree-sitter-python = { workspace = true, optional = true }
|
|
tree-sitter-regex = { workspace = true, optional = true }
|
|
tree-sitter-rust = { workspace = true, optional = true }
|
|
tree-sitter-typescript = { workspace = true, optional = true }
|
|
tree-sitter-yaml = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
load-grammars = [
|
|
"tree-sitter",
|
|
"tree-sitter-bash",
|
|
"tree-sitter-c",
|
|
"tree-sitter-cpp",
|
|
"tree-sitter-css",
|
|
"tree-sitter-diff",
|
|
"tree-sitter-gitcommit",
|
|
"tree-sitter-go",
|
|
"tree-sitter-go-mod",
|
|
"tree-sitter-gowork",
|
|
"tree-sitter-jsdoc",
|
|
"tree-sitter-json",
|
|
"tree-sitter-md",
|
|
"tree-sitter-python",
|
|
"tree-sitter-regex",
|
|
"tree-sitter-rust",
|
|
"tree-sitter-typescript",
|
|
"tree-sitter-yaml",
|
|
]
|
|
test-support = ["load-grammars"]
|