aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-01-15 17:46:36 +0000
committerGitHub <[email protected]>2021-01-15 17:46:36 +0000
commit148e3d0f6a28f57565538dca7d9c0f5f726a5908 (patch)
treecd7e8a549ed50efea52d171f6e8d6b7827a9974f
parent92c03795602c75576a0b3b3fd20cb21c8529fc82 (diff)
parent26ef7e39f4d7cf150ac855e88efd4fd121f7e578 (diff)
Merge #7287
7287: Make SyntaxPtr lookup logarithmic r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r--Cargo.lock40
-rw-r--r--crates/syntax/Cargo.toml2
2 files changed, 31 insertions, 11 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 9498d8bf3..dcf939d60 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -323,7 +323,7 @@ dependencies = [
323 "const_fn", 323 "const_fn",
324 "crossbeam-utils 0.8.1", 324 "crossbeam-utils 0.8.1",
325 "lazy_static", 325 "lazy_static",
326 "memoffset", 326 "memoffset 0.6.1",
327 "scopeguard", 327 "scopeguard",
328] 328]
329 329
@@ -910,6 +910,15 @@ dependencies = [
910 910
911[[package]] 911[[package]]
912name = "memoffset" 912name = "memoffset"
913version = "0.5.6"
914source = "registry+https://github.com/rust-lang/crates.io-index"
915checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa"
916dependencies = [
917 "autocfg",
918]
919
920[[package]]
921name = "memoffset"
913version = "0.6.1" 922version = "0.6.1"
914source = "registry+https://github.com/rust-lang/crates.io-index" 923source = "registry+https://github.com/rust-lang/crates.io-index"
915checksum = "157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87" 924checksum = "157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87"
@@ -1316,14 +1325,14 @@ checksum = "3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189"
1316 1325
1317[[package]] 1326[[package]]
1318name = "rowan" 1327name = "rowan"
1319version = "0.10.0" 1328version = "0.10.1"
1320source = "registry+https://github.com/rust-lang/crates.io-index" 1329source = "registry+https://github.com/rust-lang/crates.io-index"
1321checksum = "1e081ed6eacce09e243b619ab90f069c27b0cff8a6d0eb8ad2ec935b65853798" 1330checksum = "ca9516377b32367ade2fbe1846c75afa4827c8976f1c7d05d5473573d18a1a04"
1322dependencies = [ 1331dependencies = [
1323 "rustc-hash", 1332 "rustc-hash",
1324 "smol_str", 1333 "smol_str",
1325 "text-size", 1334 "text-size",
1326 "thin-dst", 1335 "triomphe",
1327] 1336]
1328 1337
1329[[package]] 1338[[package]]
@@ -1569,6 +1578,12 @@ dependencies = [
1569] 1578]
1570 1579
1571[[package]] 1580[[package]]
1581name = "stable_deref_trait"
1582version = "1.2.0"
1583source = "registry+https://github.com/rust-lang/crates.io-index"
1584checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
1585
1586[[package]]
1572name = "stdx" 1587name = "stdx"
1573version = "0.0.0" 1588version = "0.0.0"
1574dependencies = [ 1589dependencies = [
@@ -1655,12 +1670,6 @@ dependencies = [
1655] 1670]
1656 1671
1657[[package]] 1672[[package]]
1658name = "thin-dst"
1659version = "1.1.0"
1660source = "registry+https://github.com/rust-lang/crates.io-index"
1661checksum = "db3c46be180f1af9673ebb27bc1235396f61ef6965b3fe0dbb2e624deb604f0e"
1662
1663[[package]]
1664name = "thread_local" 1673name = "thread_local"
1665version = "1.0.1" 1674version = "1.0.1"
1666source = "registry+https://github.com/rust-lang/crates.io-index" 1675source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1802,6 +1811,17 @@ dependencies = [
1802] 1811]
1803 1812
1804[[package]] 1813[[package]]
1814name = "triomphe"
1815version = "0.1.2"
1816source = "registry+https://github.com/rust-lang/crates.io-index"
1817checksum = "6e9d872053cf9e5a833d8c1dd772cdc38ab66a908129d6f73c049c986161d07c"
1818dependencies = [
1819 "memoffset 0.5.6",
1820 "serde",
1821 "stable_deref_trait",
1822]
1823
1824[[package]]
1805name = "tt" 1825name = "tt"
1806version = "0.0.0" 1826version = "0.0.0"
1807dependencies = [ 1827dependencies = [
diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml
index cfeaed9e6..ad8b797fe 100644
--- a/crates/syntax/Cargo.toml
+++ b/crates/syntax/Cargo.toml
@@ -12,7 +12,7 @@ doctest = false
12 12
13[dependencies] 13[dependencies]
14itertools = "0.10.0" 14itertools = "0.10.0"
15rowan = "0.10.0" 15rowan = "0.10.1"
16rustc_lexer = { version = "697.0.0", package = "rustc-ap-rustc_lexer" } 16rustc_lexer = { version = "697.0.0", package = "rustc-ap-rustc_lexer" }
17rustc-hash = "1.1.0" 17rustc-hash = "1.1.0"
18arrayvec = "0.5.1" 18arrayvec = "0.5.1"