Skip to content

Commit f740a56

Browse files
David Tolnayfacebook-github-bot
authored andcommitted
Sort third-party Cargo.toml
Summary: There are a few cases of crates listed slightly out of order: `synstructure` before `sync_wrapper`, `typed-arena` before `twox-hash`, `windows_x86_64_msvc` before `winapi`. alphabet_reminder There was also a group of 4 crates at the top with the commonality that they are published to crates.io by Meta. I have not found this to be a useful distinction (it's all the same to reindeer) so I have merged all into one sorted list. Reviewed By: JakobDegen Differential Revision: D74546662 fbshipit-source-id: 1dbe480e66f525ea664258eb76955731b3009609
1 parent 73edcd2 commit f740a56

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

shim/third-party/rust/Cargo.toml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ path = "top/main.rs"
2626
# List of packages to be imported, with version constraints, features
2727
# and all options Cargo supports.
2828
[dependencies]
29-
30-
gazebo = {version = "0.8.1", features = ["str_pattern_extensions"]}
31-
fbinit = "0.2"
32-
sorted_vector_map = "0.2"
33-
watchman_client = "0.8.0"
34-
3529
annotate-snippets = { version = "0.9.0", features = ["color"] }
3630
anyhow = "1.0.65"
3731
anymap = "1.0.0-beta.2"
@@ -44,8 +38,7 @@ async-recursion = "1.0"
4438
async-scoped = { version = "0.8", features = ["use-tokio"] }
4539
async-trait = "0.1.24"
4640
atomic = "0.5.1"
47-
# backtrace 0.3.74 is failing to build on Windows
48-
backtrace = ">=0.3.51,<0.3.74"
41+
backtrace = ">=0.3.51,<0.3.74" # backtrace 0.3.74 is failing to build on Windows
4942
base64 = "0.21.7"
5043
bincode = "1.3.3"
5144
bitflags = "2.4"
@@ -61,8 +54,8 @@ clap-3 = { package = "clap", version = "3.2.24", features = ["derive", "env", "r
6154
clap_complete = { package = "clap_complete", version = "4.5.1" }
6255
common-path = "1.0.0"
6356
compact_str = "0.6.1"
64-
constant_time_eq = "0.2.4"
6557
const_format = "0.2.32"
58+
constant_time_eq = "0.2.4"
6659
convert_case = "0.4.0"
6760
criterion = { version = "0.3.1", features = [] }
6861
crossbeam = "0.8"
@@ -87,12 +80,14 @@ equivalent = "1.0.0"
8780
erased-serde = "0.3.20"
8881
faccess = "0.2.3"
8982
fancy-regex = "0.10.0"
83+
fbinit = "0.2"
9084
flate2 = "1.0.22"
9185
fnv = "1.0.7"
9286
fs4 = { version = "0.9.1", features = ["sync"] }
9387
futures = { version = "0.3.28", features = ["async-await", "compat"] }
9488
futures-intrusive = "0.4"
9589
fxhash = "0.2.1"
90+
gazebo = {version = "0.8.1", features = ["str_pattern_extensions"]}
9691
glob = "0.3.0"
9792
globset = "0.4.10"
9893
hashbrown = { version = "0.14.3", features = ["raw"] }
@@ -189,14 +184,15 @@ siphasher = "0.3.3"
189184
slab = "0.4.7"
190185
slog = "2.7.0"
191186
smallvec = { version = "1.10", features = ["const_generics", "const_new", "serde", "specialization", "union", "write"] }
187+
sorted_vector_map = "0.2"
192188
static_assertions = "1.1.0"
193189
strsim = "0.10.0"
194190
structopt = "0.3.23"
195191
strum = { version = "0.26.2", features = ["derive", "strum_macros"] }
196192
syn = { version = "2.0.101", features = ["extra-traits", "full", "visit"] }
197193
syn1 = { package = "syn", version = "1.0.109", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] }
198-
synstructure = "0.12"
199194
sync_wrapper = "0.1.0"
195+
synstructure = "0.12"
200196
sys-info = "0.9.1"
201197
sysinfo = "0.30.11"
202198
take_mut = "0.2.2"
@@ -225,15 +221,16 @@ tracing-core = "0.1.32"
225221
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
226222
triomphe = "0.1.11"
227223
trybuild = "1.0.56"
228-
typed-arena = "2.0"
229224
twox-hash = "1.6.1"
225+
typed-arena = "2.0"
230226
unicode-segmentation = "1.7"
231227
uuid = { version = "1.2", features = ["v4"] }
232228
walkdir = "2.3.2"
229+
watchman_client = "0.8.0"
233230
which = "4.3.0"
234231
whoami = "1.5.1"
235-
windows_x86_64_msvc = "=0.48.0" # our fixup only works if we are on precisely 0.48.0
236232
winapi = { version = "0.3", features = ["everything", "std"] }
233+
windows_x86_64_msvc = "=0.48.0" # our fixup only works if we are on precisely 0.48.0
237234
x509-parser = { version = "0.14.0", features = ["verify"] }
238235
xattr = "0.2.2"
239236
zip = "0.5"

0 commit comments

Comments
 (0)