aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock15
-rw-r--r--crates/ra_tools/Cargo.toml1
-rw-r--r--crates/ra_tools/src/codegen.rs1
-rw-r--r--crates/ra_tools/src/lib.rs2
4 files changed, 12 insertions, 7 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 1c16b281b..0885ac5f4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1003,7 +1003,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1003dependencies = [ 1003dependencies = [
1004 "proc-macro-hack 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)", 1004 "proc-macro-hack 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)",
1005 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1005 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1006 "quote 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1006 "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1007 "syn 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 1007 "syn 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1008] 1008]
1009 1009
@@ -1076,7 +1076,7 @@ version = "0.5.9"
1076source = "registry+https://github.com/rust-lang/crates.io-index" 1076source = "registry+https://github.com/rust-lang/crates.io-index"
1077dependencies = [ 1077dependencies = [
1078 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1078 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1079 "quote 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1079 "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1080 "syn 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 1080 "syn 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1081] 1081]
1082 1082
@@ -1128,7 +1128,7 @@ dependencies = [
1128 1128
1129[[package]] 1129[[package]]
1130name = "quote" 1130name = "quote"
1131version = "1.0.1" 1131version = "1.0.2"
1132source = "registry+https://github.com/rust-lang/crates.io-index" 1132source = "registry+https://github.com/rust-lang/crates.io-index"
1133dependencies = [ 1133dependencies = [
1134 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1134 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1363,6 +1363,7 @@ version = "0.1.0"
1363dependencies = [ 1363dependencies = [
1364 "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", 1364 "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
1365 "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 1365 "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
1366 "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1366 "teraron 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 1367 "teraron 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
1367 "walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)", 1368 "walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
1368] 1369]
@@ -1717,7 +1718,7 @@ version = "1.0.99"
1717source = "registry+https://github.com/rust-lang/crates.io-index" 1718source = "registry+https://github.com/rust-lang/crates.io-index"
1718dependencies = [ 1719dependencies = [
1719 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1720 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1720 "quote 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1721 "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1721 "syn 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 1722 "syn 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1722] 1723]
1723 1724
@@ -1737,7 +1738,7 @@ version = "0.1.5"
1737source = "registry+https://github.com/rust-lang/crates.io-index" 1738source = "registry+https://github.com/rust-lang/crates.io-index"
1738dependencies = [ 1739dependencies = [
1739 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1740 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1740 "quote 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1741 "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1741 "syn 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 1742 "syn 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1742] 1743]
1743 1744
@@ -1826,7 +1827,7 @@ version = "1.0.2"
1826source = "registry+https://github.com/rust-lang/crates.io-index" 1827source = "registry+https://github.com/rust-lang/crates.io-index"
1827dependencies = [ 1828dependencies = [
1828 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1829 "proc-macro2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1829 "quote 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1830 "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1830 "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 1831 "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
1831] 1832]
1832 1833
@@ -2293,7 +2294,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2293"checksum proptest 0.9.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cf147e022eacf0c8a054ab864914a7602618adba841d800a9a9868a5237a529f" 2294"checksum proptest 0.9.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cf147e022eacf0c8a054ab864914a7602618adba841d800a9a9868a5237a529f"
2294"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" 2295"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0"
2295"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" 2296"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
2296"checksum quote 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "49d77c41ca8767f2f41394c11a4eebccab83da25e7cc035387a3125f02be90a3" 2297"checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe"
2297"checksum ra_rustc_lexer 0.1.0-pre.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6baccda91574dfadd7f8a0bc8f9f110f874b6b484289b2536d3dbf4f0d5d97bb" 2298"checksum ra_rustc_lexer 0.1.0-pre.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6baccda91574dfadd7f8a0bc8f9f110f874b6b484289b2536d3dbf4f0d5d97bb"
2298"checksum ra_vfs 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb7cd4e302032c5ab514f1c01c89727cd96fd950dd36f9ebee9252df45d9fb1a" 2299"checksum ra_vfs 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb7cd4e302032c5ab514f1c01c89727cd96fd950dd36f9ebee9252df45d9fb1a"
2299"checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" 2300"checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"
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"
10walkdir = "2.1.3" 10walkdir = "2.1.3"
11itertools = "0.8.0" 11itertools = "0.8.0"
12clap = "2.32.0" 12clap = "2.32.0"
13quote = "1.0.2"
diff --git a/crates/ra_tools/src/codegen.rs b/crates/ra_tools/src/codegen.rs
new file mode 100644
index 000000000..8b1378917
--- /dev/null
+++ b/crates/ra_tools/src/codegen.rs
@@ -0,0 +1 @@
diff --git a/crates/ra_tools/src/lib.rs b/crates/ra_tools/src/lib.rs
index bb7845f7d..96290ecc4 100644
--- a/crates/ra_tools/src/lib.rs
+++ b/crates/ra_tools/src/lib.rs
@@ -1,3 +1,5 @@
1mod codegen;
2
1use std::{ 3use std::{
2 collections::HashMap, 4 collections::HashMap,
3 error::Error, 5 error::Error,