]> git.lizzy.rs Git - rust.git/blob - crates/syntax/Cargo.toml
Add version to deps in cargo.toml
[rust.git] / crates / syntax / Cargo.toml
1 [package]
2 name = "syntax"
3 version = "0.0.0"
4 description = "Comment and whitespace preserving parser for the Rust language"
5 license = "MIT OR Apache-2.0"
6 repository = "https://github.com/rust-analyzer/rust-analyzer"
7 authors = ["rust-analyzer developers"]
8 edition = "2018"
9
10 [lib]
11 doctest = false
12
13 [dependencies]
14 itertools = "0.9.0"
15 rowan = "0.10.0"
16 rustc_lexer = { version = "673.0.0", package = "rustc-ap-rustc_lexer" }
17 rustc-hash = "1.1.0"
18 arrayvec = "0.5.1"
19 once_cell = "1.3.1"
20 # This crate transitively depends on `smol_str` via `rowan`.
21 # ideally, `serde` should be enabled by `rust-analyzer`, but we enable it here
22 # to reduce number of compilations
23 smol_str = { version = "0.1.15", features = ["serde"] }
24 serde = { version = "1.0.106", features = ["derive"] }
25
26 stdx = { path = "../stdx", version = "0.0.0" }
27 text_edit = { path = "../text_edit", version = "0.0.0" }
28 parser = { path = "../parser", version = "0.0.0" }
29
30 [dev-dependencies]
31 walkdir = "2.3.1"
32 rayon = "1"
33 expect-test = "0.1"
34
35 test_utils = { path = "../test_utils" }