From 14fd9e72a7e5a742996ca1b7d86234b51e6e84a5 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 18 Aug 2019 21:33:31 +0300 Subject: add quote dep --- crates/ra_tools/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_tools/Cargo.toml') diff --git a/crates/ra_tools/Cargo.toml b/crates/ra_tools/Cargo.toml index 9c5430992..a70079b95 100644 --- a/crates/ra_tools/Cargo.toml +++ b/crates/ra_tools/Cargo.toml @@ -10,3 +10,4 @@ teraron = "0.1.0" walkdir = "2.1.3" itertools = "0.8.0" clap = "2.32.0" +quote = "1.0.2" -- cgit v1.2.3 From 229d7943d8471eb114f961ab419c318736772da4 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 18 Aug 2019 21:44:24 +0300 Subject: switch to new codegen --- crates/ra_tools/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_tools/Cargo.toml') diff --git a/crates/ra_tools/Cargo.toml b/crates/ra_tools/Cargo.toml index a70079b95..02bab8f52 100644 --- a/crates/ra_tools/Cargo.toml +++ b/crates/ra_tools/Cargo.toml @@ -11,3 +11,4 @@ walkdir = "2.1.3" itertools = "0.8.0" clap = "2.32.0" quote = "1.0.2" +ron = "0.5.1" -- cgit v1.2.3 From d545a5c75cb181758dd745b031eacfd7fc8a6929 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 18 Aug 2019 21:54:51 +0300 Subject: deserialize grammar --- crates/ra_tools/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_tools/Cargo.toml') diff --git a/crates/ra_tools/Cargo.toml b/crates/ra_tools/Cargo.toml index 02bab8f52..ab9fa5d86 100644 --- a/crates/ra_tools/Cargo.toml +++ b/crates/ra_tools/Cargo.toml @@ -12,3 +12,4 @@ itertools = "0.8.0" clap = "2.32.0" quote = "1.0.2" ron = "0.5.1" +serde = { version = "1.0.0", features = ["derive"] } -- cgit v1.2.3 From 8cefdb5527d011d7d5ca2902791b7c3da0276fec Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 18 Aug 2019 23:11:08 +0300 Subject: use quote! macro to generate grammar We already use syn"e elsewhere (transitively), so it make sense to cut down on the number of technologies and get rid of tera --- crates/ra_tools/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_tools/Cargo.toml') diff --git a/crates/ra_tools/Cargo.toml b/crates/ra_tools/Cargo.toml index ab9fa5d86..1bb6fb71c 100644 --- a/crates/ra_tools/Cargo.toml +++ b/crates/ra_tools/Cargo.toml @@ -12,4 +12,5 @@ itertools = "0.8.0" clap = "2.32.0" quote = "1.0.2" ron = "0.5.1" +heck = "0.3.0" serde = { version = "1.0.0", features = ["derive"] } -- cgit v1.2.3 From 7d29cf12256921d63860402a2e7cd2936c22e01e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 19 Aug 2019 11:02:04 +0300 Subject: use quote! to generate syntax kinds --- crates/ra_tools/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_tools/Cargo.toml') diff --git a/crates/ra_tools/Cargo.toml b/crates/ra_tools/Cargo.toml index 1bb6fb71c..a40a452aa 100644 --- a/crates/ra_tools/Cargo.toml +++ b/crates/ra_tools/Cargo.toml @@ -11,6 +11,7 @@ walkdir = "2.1.3" itertools = "0.8.0" clap = "2.32.0" quote = "1.0.2" +proc-macro2 = "1.0.1" ron = "0.5.1" heck = "0.3.0" serde = { version = "1.0.0", features = ["derive"] } -- cgit v1.2.3 From 5633829a1684fb622d44d1aeb3baede4e7c0ff26 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 19 Aug 2019 11:05:49 +0300 Subject: drop tera dependency --- crates/ra_tools/Cargo.toml | 1 - 1 file changed, 1 deletion(-) (limited to 'crates/ra_tools/Cargo.toml') diff --git a/crates/ra_tools/Cargo.toml b/crates/ra_tools/Cargo.toml index a40a452aa..4c9aa1cc3 100644 --- a/crates/ra_tools/Cargo.toml +++ b/crates/ra_tools/Cargo.toml @@ -6,7 +6,6 @@ authors = ["rust-analyzer developers"] publish = false [dependencies] -teraron = "0.1.0" walkdir = "2.1.3" itertools = "0.8.0" clap = "2.32.0" -- cgit v1.2.3