2018-08-10 19:33:29 +00:00
|
|
|
[package]
|
2018-12-06 17:49:36 +00:00
|
|
|
edition = "2018"
|
2018-09-16 09:54:24 +00:00
|
|
|
name = "ra_syntax"
|
2018-08-10 19:33:29 +00:00
|
|
|
version = "0.1.0"
|
2019-02-11 08:20:04 +00:00
|
|
|
authors = ["rust-analyzer developers"]
|
2018-08-10 19:33:29 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-02-09 12:34:56 +00:00
|
|
|
description = "Comment and whitespace preserving parser for the Rust language"
|
2018-11-05 12:51:38 +00:00
|
|
|
repository = "https://github.com/rust-analyzer/rust-analyzer"
|
2018-08-10 19:33:29 +00:00
|
|
|
|
2019-11-17 15:35:05 +00:00
|
|
|
[lib]
|
|
|
|
doctest = false
|
|
|
|
|
2018-08-10 19:33:29 +00:00
|
|
|
[dependencies]
|
2020-02-18 13:57:41 +00:00
|
|
|
itertools = "0.8.2"
|
2020-02-25 13:44:51 +00:00
|
|
|
rowan = "0.9.1"
|
2019-09-05 20:07:17 +00:00
|
|
|
rustc_lexer = "0.1.0"
|
2020-02-18 13:57:41 +00:00
|
|
|
rustc-hash = "1.1.0"
|
2019-10-17 15:06:01 +00:00
|
|
|
arrayvec = "0.5.1"
|
2020-02-18 13:57:41 +00:00
|
|
|
once_cell = "1.3.1"
|
2019-01-11 10:21:18 +00:00
|
|
|
|
2019-12-12 13:11:06 +00:00
|
|
|
ra_text_edit = { path = "../ra_text_edit" }
|
|
|
|
ra_parser = { path = "../ra_parser" }
|
|
|
|
|
2019-10-14 10:56:29 +00:00
|
|
|
# This crate transitively depends on `smol_str` via `rowan`.
|
2020-02-18 11:33:16 +00:00
|
|
|
# ideally, `serde` should be enabled by `rust-analyzer`, but we enable it here
|
2019-10-14 10:56:29 +00:00
|
|
|
# to reduce number of compilations
|
2020-02-18 13:57:41 +00:00
|
|
|
smol_str = { version = "0.1.15", features = ["serde"] }
|
|
|
|
serde = { version = "1.0.104", features = ["derive"] }
|
2018-08-10 19:33:29 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2018-11-05 12:56:07 +00:00
|
|
|
test_utils = { path = "../test_utils" }
|
2020-02-18 13:57:41 +00:00
|
|
|
walkdir = "2.3.1"
|