From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- src/tools/rust-analyzer/crates/syntax/Cargo.toml | 39 ++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/tools/rust-analyzer/crates/syntax/Cargo.toml (limited to 'src/tools/rust-analyzer/crates/syntax/Cargo.toml') diff --git a/src/tools/rust-analyzer/crates/syntax/Cargo.toml b/src/tools/rust-analyzer/crates/syntax/Cargo.toml new file mode 100644 index 000000000..0e2dec386 --- /dev/null +++ b/src/tools/rust-analyzer/crates/syntax/Cargo.toml @@ -0,0 +1,39 @@ +[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-lang/rust-analyzer" +edition = "2021" +rust-version = "1.57" + +[lib] +doctest = false + +[dependencies] +cov-mark = "2.0.0-pre.1" +itertools = "0.10.3" +rowan = "0.15.8" +rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" } +rustc-hash = "1.1.0" +once_cell = "1.12.0" +indexmap = "1.9.1" +smol_str = "0.1.23" + +stdx = { path = "../stdx", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } +parser = { path = "../parser", version = "0.0.0" } +profile = { path = "../profile", version = "0.0.0" } + +[dev-dependencies] +rayon = "1.5.3" +expect-test = "1.4.0" +proc-macro2 = "1.0.39" +quote = "1.0.20" +ungrammar = "1.16.1" + +test-utils = { path = "../test-utils" } +sourcegen = { path = "../sourcegen" } + +[features] +in-rust-tree = [] -- cgit v1.2.3