]> git.lizzy.rs Git - rust.git/blob - crates/ra_syntax/Cargo.toml
Merge #2706
[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 ra_text_edit = { path = "../ra_text_edit" }
22 ra_parser = { path = "../ra_parser" }
23
24 # This crate transitively depends on `smol_str` via `rowan`.
25 # ideally, `serde` should be enabled by `ra_lsp_server`, but we enable it here
26 # to reduce number of compilations
27 smol_str = { version = "0.1.12", features = ["serde"] }
28 serde = { version = "1", features = ["derive"] }
29
30 [dev-dependencies]
31 test_utils = { path = "../test_utils" }
32 walkdir = "2.2.0"