2018-08-10 14:33:29 -05:00
|
|
|
[package]
|
2020-08-12 11:26:51 -05:00
|
|
|
name = "syntax"
|
|
|
|
version = "0.0.0"
|
2020-02-09 06:34:56 -06:00
|
|
|
description = "Comment and whitespace preserving parser for the Rust language"
|
2020-08-12 11:26:51 -05:00
|
|
|
license = "MIT OR Apache-2.0"
|
2018-11-05 06:51:38 -06:00
|
|
|
repository = "https://github.com/rust-analyzer/rust-analyzer"
|
2020-08-12 11:26:51 -05:00
|
|
|
authors = ["rust-analyzer developers"]
|
|
|
|
edition = "2018"
|
2018-08-10 14:33:29 -05:00
|
|
|
|
2019-11-17 09:35:05 -06:00
|
|
|
[lib]
|
|
|
|
doctest = false
|
|
|
|
|
2018-08-10 14:33:29 -05:00
|
|
|
[dependencies]
|
2020-12-30 09:39:50 -06:00
|
|
|
itertools = "0.10.0"
|
2021-01-16 13:38:22 -06:00
|
|
|
rowan = "0.10.3"
|
2021-01-04 10:12:42 -06:00
|
|
|
rustc_lexer = { version = "697.0.0", package = "rustc-ap-rustc_lexer" }
|
2020-02-18 07:57:41 -06:00
|
|
|
rustc-hash = "1.1.0"
|
2019-10-17 10:06:01 -05:00
|
|
|
arrayvec = "0.5.1"
|
2020-02-18 07:57:41 -06:00
|
|
|
once_cell = "1.3.1"
|
2020-10-21 07:17:00 -05:00
|
|
|
indexmap = "1.4.0"
|
2019-10-14 05:56:29 -05:00
|
|
|
# This crate transitively depends on `smol_str` via `rowan`.
|
2020-02-18 05:33:16 -06:00
|
|
|
# ideally, `serde` should be enabled by `rust-analyzer`, but we enable it here
|
2019-10-14 05:56:29 -05:00
|
|
|
# to reduce number of compilations
|
2020-02-18 07:57:41 -06:00
|
|
|
smol_str = { version = "0.1.15", features = ["serde"] }
|
2020-05-01 07:29:03 -05:00
|
|
|
serde = { version = "1.0.106", features = ["derive"] }
|
2018-08-10 14:33:29 -05:00
|
|
|
|
2020-08-24 03:25:19 -05:00
|
|
|
stdx = { path = "../stdx", version = "0.0.0" }
|
|
|
|
text_edit = { path = "../text_edit", version = "0.0.0" }
|
|
|
|
parser = { path = "../parser", version = "0.0.0" }
|
2020-10-31 02:49:57 -05:00
|
|
|
test_utils = { path = "../test_utils", version = "0.0.0" }
|
2020-11-27 10:00:03 -06:00
|
|
|
profile = { path = "../profile", version = "0.0.0" }
|
2020-08-12 11:26:51 -05:00
|
|
|
|
2018-08-10 14:33:29 -05:00
|
|
|
[dev-dependencies]
|
2020-02-18 07:57:41 -06:00
|
|
|
walkdir = "2.3.1"
|
2020-07-11 05:56:44 -05:00
|
|
|
rayon = "1"
|
2021-01-03 07:43:29 -06:00
|
|
|
expect-test = "1.1"
|