Skip to content

Commit 7277ef2

Browse files
committed
Update compiler-recommended crates
1 parent fdc96ee commit 7277ef2

File tree

3 files changed

+24
-15
lines changed

3 files changed

+24
-15
lines changed

compiler/base/Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ package = "arrayvec"
9797
version = "=0.7.4"
9898
features = ["std"]
9999

100-
[dependencies.async_recursion]
101-
package = "async-recursion"
102-
version = "=1.1.0"
103-
104100
[dependencies.async_trait]
105101
package = "async-trait"
106102
version = "=0.1.79"
@@ -1259,6 +1255,10 @@ package = "spin"
12591255
version = "=0.9.8"
12601256
features = ["barrier", "lazy", "lock_api", "lock_api_crate", "mutex", "once", "rwlock", "spin_mutex"]
12611257

1258+
[dependencies.sptr]
1259+
package = "sptr"
1260+
version = "=0.3.2"
1261+
12621262
[dependencies.string_cache]
12631263
package = "string_cache"
12641264
version = "=0.8.7"
@@ -1693,10 +1693,6 @@ package = "arrayvec"
16931693
version = "=0.7.4"
16941694
features = ["std"]
16951695

1696-
[build_dependencies.async_recursion]
1697-
package = "async-recursion"
1698-
version = "=1.1.0"
1699-
17001696
[build_dependencies.async_trait]
17011697
package = "async-trait"
17021698
version = "=0.1.79"
@@ -2855,6 +2851,10 @@ package = "spin"
28552851
version = "=0.9.8"
28562852
features = ["barrier", "lazy", "lock_api", "lock_api_crate", "mutex", "once", "rwlock", "spin_mutex"]
28572853

2854+
[build_dependencies.sptr]
2855+
package = "sptr"
2856+
version = "=0.3.2"
2857+
28582858
[build_dependencies.string_cache]
28592859
package = "string_cache"
28602860
version = "=0.8.7"

compiler/base/crate-information.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@
7979
"version": "0.7.4",
8080
"id": "arrayvec"
8181
},
82-
{
83-
"name": "async-recursion",
84-
"version": "1.1.0",
85-
"id": "async_recursion"
86-
},
8782
{
8883
"name": "async-trait",
8984
"version": "0.1.79",
@@ -1329,6 +1324,11 @@
13291324
"version": "0.9.8",
13301325
"id": "spin"
13311326
},
1327+
{
1328+
"name": "sptr",
1329+
"version": "0.3.2",
1330+
"id": "sptr"
1331+
},
13321332
{
13331333
"name": "string_cache",
13341334
"version": "0.8.7",

top-crates/crate-modifications.toml

+11-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ exclusions = [
55

66
additions = [
77
# Crates that the compiler recommends
8-
# rg 'https://crates.io/crates/[a-z_-]+' --glob '*.stderr' --only-matching --no-line-number --no-filename | sort | uniq | cut -d '/' -f 5
8+
# rg 'https://crates.io/crates/[a-z_-]+' \
9+
# --glob '**/tests/**/*.stderr' \
10+
# --glob 'compiler/rustc_error_codes/**/*.md' \
11+
# --only-matching \
12+
# --no-line-number \
13+
# --no-filename \
14+
# | sort \
15+
# | uniq \
16+
# | cut -d '/' -f 5
917
"async-trait",
10-
"async-recursion",
18+
"once_cell",
19+
"sptr",
1120
]

0 commit comments

Comments
 (0)