gpui-component/crates/story/Cargo.toml
Jason Lee 2b796c94e9
highlighter: Improve performance for large file. (#911)
Still need to improve.

This version can work smooth when the file lines are less than 5000
lines.

> cargo run --release on MacBook Pro, Apple M3 CPU

- Editing at 110 FPS+
- Display at 120 FPS.

<img width="977" alt="image"
src="https://github.com/user-attachments/assets/37958bcb-20d8-486b-8c50-2728d16f971b"
/>
2025-06-03 23:20:33 +08:00

27 lines
666 B
TOML

[package]
edition = "2021"
name = "story"
publish = false
version = "0.1.0"
[dependencies]
anyhow.workspace = true
chrono = "0.4"
fake = { version = "2.10.0", features = ["dummy"] }
gpui.workspace = true
gpui-component = { workspace = true, features = ["webview"] }
rand = "0.8"
raw-window-handle = { version = "0.6", features = ["std"] }
regex = "1"
reqwest_client = { git = "https://github.com/zed-industries/zed.git" }
rust-embed = "8.5.0"
serde = "1"
serde_json = "1"
unindent = "0.2.3"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
[target.'cfg(target_os = "linux")'.dependencies]
gtk = { version = "0.18" }
[lints]
workspace = true