]> git.lizzy.rs Git - rust.git/blob - crates/ra_syntax/Cargo.toml
:arrow_up: rowan
[rust.git] / crates / ra_syntax / Cargo.toml
1 [package]
2 edition = "2018"
3 name = "ra_syntax"
4 version = "0.1.0"
5 authors = ["rust-analyzer developers"]
6 license = "MIT OR Apache-2.0"
7 description = "Comment and whitespace preserving parser for the Rust langauge"
8 repository = "https://github.com/rust-analyzer/rust-analyzer"
9
10 [lib]
11 doctest = false
12
13 [dependencies]
14 itertools = "0.8.0"
15 rowan = "0.8.0"
16 rustc_lexer = "0.1.0"
17 rustc-hash = "1.0.1"
18 arrayvec = "0.5.1"
19 once_cell = "1.2.0"
20
21 # This crate transitively depends on `smol_str` via `rowan`.
22 # ideally, `serde` should be enabled by `ra_lsp_server`, but we enable it here
23 # to reduce number of compilations
24 smol_str = { version = "0.1.12", features = ["serde"] }
25
26 ra_text_edit = { path = "../ra_text_edit" }
27 ra_parser = { path = "../ra_parser" }
28
29 [dev-dependencies]
30 test_utils = { path = "../test_utils" }
31 walkdir = "2.2.0"