mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 17:28:09 +00:00
6f862a6704
The new rowan uses arena allocator for red nodes which helps slightly (5% on std completion test) with performance but should help quite a bit with avoiding memory fragmentation.
27 lines
776 B
TOML
27 lines
776 B
TOML
[package]
|
|
edition = "2018"
|
|
name = "ra_syntax"
|
|
version = "0.1.0"
|
|
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Comment and whitespace preserving parser for the Rust langauge"
|
|
repository = "https://github.com/rust-analyzer/rust-analyzer"
|
|
|
|
[dependencies]
|
|
arrayvec = "0.4.10"
|
|
unicode-xid = "0.1.0"
|
|
itertools = "0.8.0"
|
|
drop_bomb = "0.1.4"
|
|
parking_lot = "0.7.0"
|
|
rowan = "0.3.3"
|
|
|
|
# ideally, `serde` should be enabled by `ra_lsp_serder`, but we enable it here
|
|
# to reduce number of compilations
|
|
text_unit = { version = "0.1.6", features = ["serde"] }
|
|
smol_str = { version = "0.1.9", features = ["serde"] }
|
|
|
|
ra_text_edit = { path = "../ra_text_edit" }
|
|
|
|
[dev-dependencies]
|
|
test_utils = { path = "../test_utils" }
|
|
walkdir = "2.2.0"
|