From a1c187eef3ba08076aedb5154929f7eda8d1b424 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 12 Aug 2020 18:26:51 +0200 Subject: Rename ra_syntax -> syntax --- crates/syntax/Cargo.toml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 crates/syntax/Cargo.toml (limited to 'crates/syntax/Cargo.toml') diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml new file mode 100644 index 000000000..47e351f9d --- /dev/null +++ b/crates/syntax/Cargo.toml @@ -0,0 +1,35 @@ +[package] +name = "syntax" +version = "0.0.0" +description = "Comment and whitespace preserving parser for the Rust language" +license = "MIT OR Apache-2.0" +repository = "https://github.com/rust-analyzer/rust-analyzer" +authors = ["rust-analyzer developers"] +edition = "2018" + +[lib] +doctest = false + +[dependencies] +itertools = "0.9.0" +rowan = "0.10.0" +rustc_lexer = { version = "671.0.0", package = "rustc-ap-rustc_lexer" } +rustc-hash = "1.1.0" +arrayvec = "0.5.1" +once_cell = "1.3.1" +# This crate transitively depends on `smol_str` via `rowan`. +# ideally, `serde` should be enabled by `rust-analyzer`, but we enable it here +# to reduce number of compilations +smol_str = { version = "0.1.15", features = ["serde"] } +serde = { version = "1.0.106", features = ["derive"] } + +stdx = { path = "../stdx" } +text_edit = { path = "../text_edit" } +parser = { path = "../parser" } + +[dev-dependencies] +walkdir = "2.3.1" +rayon = "1" + +test_utils = { path = "../test_utils" } +expect = { path = "../expect" } -- cgit v1.2.3