rust/crates/syntax/Cargo.toml

36 lines
1 KiB
TOML
Raw Normal View History

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