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